[enh] Use named args in helpers calls

Co-authored-by: Kayou <pierre@kayou.io>
This commit is contained in:
ljf (zamentur) 2021-09-08 15:45:24 +02:00 committed by GitHub
parent a205015f0d
commit b487fbbe00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -131,7 +131,7 @@ _ynh_app_config_apply() {
# Save value in app settings
elif [[ "$bind" == "settings" ]]
then
ynh_app_setting_set $app $short_setting "${!short_setting}"
ynh_app_setting_set --app=$app --key=$short_setting --value="${!short_setting}"
ynh_print_info "Configuration key '$short_setting' edited in app settings"
# Save multiline text in a file