Improve volta installation check

This commit is contained in:
Sander Declerck 2025-12-02 09:49:14 +01:00
parent b60cb63fdb
commit 2d87e1b817
No known key found for this signature in database
2 changed files with 4 additions and 3 deletions

View file

@ -112,7 +112,7 @@ check_volta_installation() {
# Volta manages global packages in its own directory
# Check if safe-chain is installed via Volta
if volta list @aikidosec/safe-chain >/dev/null 2>&1; then
if volta list safe-chain >/dev/null 2>&1; then
info "Detected Volta installation of @aikidosec/safe-chain"
info "Uninstalling Volta version before installing binary version..."