mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-08 15:50:51 +00:00
Fix: Changes to have command usage
This commit is contained in:
@@ -36,4 +36,6 @@ have npm && {
|
||||
msg_run "Upgrading all global packages"
|
||||
npm -g --no-progress --no-timing --no-fund outdated
|
||||
npm -g --no-timing --no-fund upgrade
|
||||
} || msg_err "npm could not be found."
|
||||
}
|
||||
|
||||
! have npm && msg_err "npm could not be found."
|
||||
|
||||
Reference in New Issue
Block a user