From 8b948d09e7062834c8c7dca0b05332febe911409 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 10 Sep 2024 12:52:52 +0200 Subject: [PATCH] nit upgrade instructions --- cli/main.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cli/main.ts b/cli/main.ts index 8a4d8f561c..a7b6c13f00 100644 --- a/cli/main.ts +++ b/cli/main.ts @@ -56,7 +56,7 @@ export { // } // }); -export const VERSION = "1.393.6"; +export const VERSION = "1.393.7"; const command = new Command() .name("wmill") @@ -135,6 +135,11 @@ const command = new Command() "upgrade", new UpgradeCommand({ provider: new NpmProvider({ package: "windmill-cli" }), + }).error((e) => { + log.error(e); + log.info( + "Try running with sudo and otherwise check the result of the command: npm uninstall windmill-cli && npm install -g windmill-cli" + ); }) ) .command("completions", new CompletionsCommand());