From 2a7e2e3ed8d6c8f502463d9adba6dfd009730088 Mon Sep 17 00:00:00 2001 From: bitterpanda Date: Thu, 31 Jul 2025 14:26:29 +0000 Subject: [PATCH 1/3] Update src/shell-integration/startup-scripts/init-pwsh.ps1 --- src/shell-integration/startup-scripts/init-pwsh.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell-integration/startup-scripts/init-pwsh.ps1 b/src/shell-integration/startup-scripts/init-pwsh.ps1 index 7d85ee1..16acb92 100644 --- a/src/shell-integration/startup-scripts/init-pwsh.ps1 +++ b/src/shell-integration/startup-scripts/init-pwsh.ps1 @@ -77,4 +77,4 @@ function npm { } Invoke-WrappedCommand "npm" "aikido-npm" $args -} \ No newline at end of file +} From b8ac2e3bc108c53b1be028107324055ccf3d2ec1 Mon Sep 17 00:00:00 2001 From: Sander Declerck Date: Mon, 4 Aug 2025 10:19:54 +0200 Subject: [PATCH 2/3] Change text as suggested --- src/shell-integration/startup-scripts/init-posix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell-integration/startup-scripts/init-posix.sh b/src/shell-integration/startup-scripts/init-posix.sh index 3b6d13b..01b23c4 100644 --- a/src/shell-integration/startup-scripts/init-posix.sh +++ b/src/shell-integration/startup-scripts/init-posix.sh @@ -2,7 +2,7 @@ function printSafeChainWarning() { # \033[43;30m is used to set the background color to yellow and text color to black # \033[0m is used to reset the text formatting - printf "\033[43;30mWarning:\033[0m safe-chain is not available to protect you from installing malware. %s will be run directly.\n" "$1" + printf "\033[43;30mWarning:\033[0m safe-chain is not available to protect you from installing malware. %s will run without it.\n" "$1" # \033[36m is used to set the text color to cyan printf "Install safe-chain by using \033[36mnpm install -g @aikidosec/safe-chain\033[0m.\n" } From 432769bca068fcae5908f9b6d5a6cb4d7d68f0c2 Mon Sep 17 00:00:00 2001 From: Sander Declerck Date: Mon, 4 Aug 2025 10:20:44 +0200 Subject: [PATCH 3/3] Change text as suggested --- src/shell-integration/startup-scripts/init-pwsh.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell-integration/startup-scripts/init-pwsh.ps1 b/src/shell-integration/startup-scripts/init-pwsh.ps1 index 16acb92..7fb44d6 100644 --- a/src/shell-integration/startup-scripts/init-pwsh.ps1 +++ b/src/shell-integration/startup-scripts/init-pwsh.ps1 @@ -3,7 +3,7 @@ function Write-SafeChainWarning { # PowerShell equivalent of ANSI color codes: yellow background, black text for "Warning:" Write-Host "Warning:" -BackgroundColor Yellow -ForegroundColor Black -NoNewline - Write-Host " safe-chain is not available to protect you from installing malware. $Command will be run directly." + Write-Host " safe-chain is not available to protect you from installing malware. $Command will run without it." # Cyan text for the install command Write-Host "Install safe-chain by using " -NoNewline