From 2ab1bd50dc900be4029ca6851535f5c079a6b895 Mon Sep 17 00:00:00 2001 From: Thibault Ayanides Date: Mon, 14 Dec 2020 13:58:50 +0100 Subject: [PATCH] IMP(shellcheck): use $@ insetad of $* (SC2048) --- lib/utils.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils.sh b/lib/utils.sh index b1ca276..46b348d 100644 --- a/lib/utils.sh +++ b/lib/utils.sh @@ -100,11 +100,11 @@ has_file_correct_permissions() { } does_pattern_exist_in_file_nocase() { - _does_pattern_exist_in_file "-Ei" $* + _does_pattern_exist_in_file "-Ei" "$@" } does_pattern_exist_in_file() { - _does_pattern_exist_in_file "-E" $* + _does_pattern_exist_in_file "-E" "$@" } _does_pattern_exist_in_file() {