From 1d55e528d142726890e1bcd9566e74b4eeba7ec2 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 3 Feb 2019 06:34:25 +0100 Subject: [PATCH] fix upgrade --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index a262cd4..2682a28 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -138,6 +138,7 @@ pushd $final_path ynh_use_nodejs sudo -u $app env PATH=$PATH:$nodejs_path npm update --production sudo -u $app env PATH=$PATH:$nodejs_path npm install --production + sudo -u $app env PATH=$PATH:$nodejs_path npm audit fix popd ### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script.