From 75c3411ecbefe579eee77f8e2382ef24d58a9c44 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Tue, 28 Apr 2020 00:00:37 +0200 Subject: [PATCH] Ignore at_least_one --- sub_scripts/testing_process.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sub_scripts/testing_process.sh b/sub_scripts/testing_process.sh index f04e335..e7e0c5a 100644 --- a/sub_scripts/testing_process.sh +++ b/sub_scripts/testing_process.sh @@ -103,6 +103,8 @@ CHECK_TEMPLATE () { template_output="$(echo "$template_output" | sed '/:[[:blank:]]*ynh_/d')" # Remove find_mails, which is a part of ynh_send_readme_to_admin template_output="$(echo "$template_output" | sed '/find_mails/d')" + # And at_least_one, part of ynh_get_scalable_phpfpm + template_output="$(echo "$template_output" | sed '/at_least_one/d')" show_error "Do not use specific functions aside of ynh helpers." "Keep your code linear directly into the scripts to ease the reading of your scripts" @@ -126,7 +128,7 @@ CHECK_TEMPLATE () { fi # To not pull more than once a hour if git_wait_for_pull "$official_helper_dir" 3600; then - git pull origin HEAD #> /dev/null 2>&1 + git pull origin HEAD > /dev/null 2>&1 fi ) # And get experimentals helpers @@ -141,7 +143,7 @@ CHECK_TEMPLATE () { cd Experimental_helpers # To not pull more than once a hour if git_wait_for_pull "$experimental_helper_dir" 3600; then - git pull origin HEAD #> /dev/null 2>&1 + git pull origin HEAD > /dev/null 2>&1 fi ) # Check each helper found