From fd01e709dca462a052fec404a7887545b635223d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 18 May 2022 21:23:22 +0200 Subject: make linter happy --- bin/nit-picker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/nit-picker') diff --git a/bin/nit-picker b/bin/nit-picker index 8dd0156..56321b9 100755 --- a/bin/nit-picker +++ b/bin/nit-picker @@ -281,9 +281,9 @@ while pgrep -x ii >/dev/null \ case "${action}" in 'commit') # check whether a given commit is present in the git repo git_repo="${parameters%% *}" - git_rev="${parameters#${git_repo} }" + git_rev="${parameters#"${git_repo}" }" git_head="${git_rev%% *}" - git_rev="${git_rev#${git_head} }" + git_rev="${git_rev#"${git_head}" }" # shellcheck disable=SC2016 eval "$( printf 'git_dir="${repo_paths__%s}"\n' \ -- cgit v1.2.3-70-g09d2