[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:39 +02:00 committed by GitHub
parent b487fbbe00
commit f2b779c962
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,7 @@ _ynh_app_config_apply() {
elif [[ "$bind" == "settings" ]] elif [[ "$bind" == "settings" ]]
then then
ynh_app_setting_set --app=$app --key=$short_setting --value="${!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" ynh_print_info --message="Configuration key '$short_setting' edited in app settings"
# Save multiline text in a file # Save multiline text in a file
elif [[ "$type" == "text" ]] elif [[ "$type" == "text" ]]