Fix bug in update
This commit is contained in:
parent
503ddc304e
commit
43c32e23a1
|
@ -204,7 +204,7 @@ update-npm() {
|
|||
npm -g install "$package"
|
||||
done
|
||||
|
||||
seconds=$((`date +%s` - $start_rust_update ))
|
||||
seconds=$((`date +%s` - $start_npm_update ))
|
||||
formatted=`date -ud "@$seconds" +'%H hours %M minutes %S seconds'`
|
||||
echo "\033[32;1m=== Node packages updated in $formatted ===\033[0m"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue