1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mongo-express_ynh.git synced 2024-09-03 19:46:04 +02:00

use the correct npm bin

This commit is contained in:
Gérard Collin 2024-01-22 13:40:24 +01:00
parent 2a8c877050
commit 5a1d93a263

View file

@ -14,7 +14,7 @@ nodejs_version=16
# EXPERIMENTAL HELPERS
#=================================================
_install_yarn () {
ynh_exec_as "$app" "$ynh_node_load_PATH" npm install yarn
ynh_exec_as "$app" "$ynh_node_load_PATH" $ynh_npm install yarn
ynh_yarn="$install_dir/node_modules/.bin/yarn"
alias ynh_yarn="$ynh_yarn"
}