1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Add an explicit FIXME / explanation when ynh_replace is used with positionals

This commit is contained in:
Alexandre Aubin 2024-06-23 16:56:30 +02:00
parent 523c8fc26e
commit d5419029d8

View file

@ -198,6 +198,7 @@ def cleanup():
(r"--match_string", "--match"),
(r"--replace_string", "--replace"),
(r"--target_file", "--file"),
(r"(ynh_replace ('|\"))", "# FIXME: ynh_replace used with positional args. Please add the keywords: --match=, --replace=, --file=\n\\1"),
# Nginx
(r"ynh_add_nginx_config", "ynh_config_add_nginx"),
(r"ynh_remove_nginx_config", "ynh_config_remove_nginx"),