From ebe6c8a5f2060d03ac299bdf2bc980af6516f980 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 20 Sep 2020 21:15:59 +0200 Subject: [PATCH] Apply suggestions from code review (comment indentation) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> --- data/helpers.d/utils | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/data/helpers.d/utils b/data/helpers.d/utils index 76779f268..c4af2f6f1 100644 --- a/data/helpers.d/utils +++ b/data/helpers.d/utils @@ -279,12 +279,13 @@ ynh_local_curl () { # The helper will use the template $template to generate a config file # $destination by replacing the following keywords with global variables # that should be defined before calling this helper : -# __PATH__ by $path_url -# __NAME__ by $app -# __NAMETOCHANGE__ by $app -# __USER__ by $app -# __FINALPATH__ by $final_path -# __PHPVERSION__ by $YNH_PHP_VERSION +# __PATH__ by $path_url +# __NAME__ by $app +# __NAMETOCHANGE__ by $app +# __USER__ by $app +# __FINALPATH__ by $final_path +# __PHPVERSION__ by $YNH_PHP_VERSION +# __YNH_NODE_LOAD_PATH__ by $ynh_node_load_PATH # # And any dynamic variables that should be defined before calling this helper like: # __DOMAIN__ by $domain @@ -336,13 +337,14 @@ ynh_add_config () { # # The helper will replace the following keywords with global variables # that should be defined before calling this helper : -# __PATH__ by $path_url -# __NAME__ by $app -# __NAMETOCHANGE__ by $app -# __USER__ by $app -# __FINALPATH__ by $final_path -# __PHPVERSION__ by $YNH_PHP_VERSION -# __YNH_NODE_LOAD_PATH__" by $ynh_node_load_PATH +# __PATH__ by $path_url +# __NAME__ by $app +# __NAMETOCHANGE__ by $app +# __USER__ by $app +# __FINALPATH__ by $final_path +# __PHPVERSION__ by $YNH_PHP_VERSION +# __YNH_NODE_LOAD_PATH__ by $ynh_node_load_PATH +# # And any dynamic variables that should be defined before calling this helper like: # __DOMAIN__ by $domain # __APP__ by $app