From 43c32e23a183701a9a554edadd685030374d7fea Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Sun, 17 Mar 2019 22:37:40 +0100 Subject: [PATCH] Fix bug in update --- zsh/bin/update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/bin/update b/zsh/bin/update index b81b20f..b0c3cf9 100755 --- a/zsh/bin/update +++ b/zsh/bin/update @@ -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" }