File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,10 @@ sourceOnce "$dir_of_tegonal_scripts/utility/array-utils.sh"
4949function runShfmt() {
5050 exitIfCommandDoesNotExist " shfmt" " execute $dir_of_tegonal_scripts /ci/install-shfmt.sh (if pulled) or see hhttps://github.com/mvdan/sh/releases"
5151
52- if (( $# < 2 )) ; then
52+ if (( $# < 1 )) ; then
5353 logError " At least one argument needs to be passed to runShfmt, given \033[0;36m%s\033[0m\nFollowing a description of the parameters:" " $# "
5454 echo >&2 ' 1: paths name of array which contains paths in which *.sh files are searched'
55- echo >&2 ' 3 ... args additional args which are passed to the find command'
55+ echo >&2 ' 2 ... args additional args which are passed to the find command'
5656 printStackTrace
5757 exit 9
5858 fi
You can’t perform that action at this time.
0 commit comments