From 7fa3a89a56860bb5429773d7907e500a4cb295a0 Mon Sep 17 00:00:00 2001
From: Orestis <orestis.malaspinas@pm.me>
Date: Mon, 19 Feb 2024 22:26:29 +0100
Subject: [PATCH] fixed typos

---
 .../commander/completion/subcommands/CompletionBashCommand.ts | 2 +-
 .../commander/completion/subcommands/CompletionFishCommand.ts | 4 ++--
 .../commander/completion/subcommands/CompletionZshCommand.ts  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/NodeApp/src/commander/completion/subcommands/CompletionBashCommand.ts b/NodeApp/src/commander/completion/subcommands/CompletionBashCommand.ts
index 5dfde48..b6a3f33 100644
--- a/NodeApp/src/commander/completion/subcommands/CompletionBashCommand.ts
+++ b/NodeApp/src/commander/completion/subcommands/CompletionBashCommand.ts
@@ -26,7 +26,7 @@ For more details: <https://github.com/scop/bash-completion/blob/master/README.md
             console.log(`Bash completion successfully written.`)
             console.log(`${installInstructions}`)
         } catch (error) {
-            console.log(`Error: ${error}, failed to write ${filename}`)
+            console.log(`Error: ${error}.`)
         }
     }
 
diff --git a/NodeApp/src/commander/completion/subcommands/CompletionFishCommand.ts b/NodeApp/src/commander/completion/subcommands/CompletionFishCommand.ts
index b6ad117..bc27b78 100644
--- a/NodeApp/src/commander/completion/subcommands/CompletionFishCommand.ts
+++ b/NodeApp/src/commander/completion/subcommands/CompletionFishCommand.ts
@@ -18,10 +18,10 @@ cp -i ${filename} ~/.config/fish/completions  # interactive cp to avoid accident
 `
         try {
             writeFileSync(filename, generateFishCompletion(getRoot(this.command)))
-            console.log(`Bash completion successfully written.`)
+            console.log(`Fish completion successfully written.`)
             console.log(`${installInstructions}`)
         } catch (error) {
-            console.log(`Error: ${error}, failed to write ${filename}`)
+            console.log(`Error: ${error}.`)
         }
     }
 
diff --git a/NodeApp/src/commander/completion/subcommands/CompletionZshCommand.ts b/NodeApp/src/commander/completion/subcommands/CompletionZshCommand.ts
index d162dc9..eda3f38 100644
--- a/NodeApp/src/commander/completion/subcommands/CompletionZshCommand.ts
+++ b/NodeApp/src/commander/completion/subcommands/CompletionZshCommand.ts
@@ -34,7 +34,7 @@ source .bash_completion
             console.log(`Bash completion successfully written.`)
             console.log(`${installInstructions}`)
         } catch (error) {
-            console.log(`Error: ${error}, failed to write ${filename}`)
+            console.log(`Error: ${error}`)
         }
     }
 
-- 
GitLab