don't exit upd --purge-vscode-extensions
if code
is not running
This commit is contained in:
parent
005721487b
commit
a988dd1183
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ def _upd(args: list):
|
|||
if "--purge-vscode-extensions" in args:
|
||||
args.remove("--purge-vscode-extensions")
|
||||
print(f"{c.BLUE}Killing {c.YELLOW}Visual Studio Code{c.BLUE} processes{c.END}")
|
||||
run(["killall", "code"])
|
||||
run(["killall", "code"], exit_on_error=False)
|
||||
print(f"{c.BLUE}Purging {c.YELLOW}Visual Studio Code{c.BLUE} extensions{c.END}")
|
||||
run(["rm", "-rf", ".vscode/extensions"], cwd="/home/cswimr")
|
||||
print(f"{c.BLUE}Rebuilding {c.YELLOW}NixOS{c.BLUE} configuration{c.END}")
|
||||
|
|
Loading…
Reference in a new issue