mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Use return instead of exit
This commit is contained in:
parent
2374c76192
commit
0b38fcd74e
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ function Install-SafeChain {
|
||||||
# Check if the requested version is already installed
|
# Check if the requested version is already installed
|
||||||
if (Test-VersionInstalled -RequestedVersion $Version) {
|
if (Test-VersionInstalled -RequestedVersion $Version) {
|
||||||
Write-Info "safe-chain $Version is already installed"
|
Write-Info "safe-chain $Version is already installed"
|
||||||
exit 0
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
# Build installation message
|
# Build installation message
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue