mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Improve volta installation check
This commit is contained in:
parent
b60cb63fdb
commit
2d87e1b817
2 changed files with 4 additions and 3 deletions
|
|
@ -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..."
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue