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.