Skip to content

Commit 1786453

Browse files
committed
mention that ci/install-shellcheck/spec in run-shellcheck/spec
in case shellcheck/spec is not yet installed
1 parent 4622207 commit 1786453

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/qa/run-shellcheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ sourceOnce "$dir_of_tegonal_scripts/utility/recursive-declare-p.sh"
4646
sourceOnce "$dir_of_tegonal_scripts/utility/array-utils.sh"
4747

4848
function runShellcheck() {
49-
exitIfCommandDoesNotExist "shellcheck" "see https://github.com/koalaman/shellcheck#installing"
49+
exitIfCommandDoesNotExist "shellcheck" "execute $dir_of_tegonal_scripts/ci/install-shellcheck.sh (if pulled) or see https://github.com/koalaman/shellcheck#installing"
5050

5151
if (($# < 2)); then
5252
logError "At least two parameters need to be passed to runShellcheck, given \033[0;36m%s\033[0m\nFollowing a description of the parameters:" "$#"

src/qa/run-shellspec-if-installed.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ function runShellspecIfInstalled() {
4545
logInfo "Running shellspec $shellspecVersion ..."
4646
shellspec "$@"
4747
else
48-
logWarning "shellspec is not installed, skipping running specs.\nConsider to install it https://github.com/shellspec/shellspec#installation"
48+
logWarning "shellspec is not installed, skipping running specs.\nConsider to install it, execute $dir_of_tegonal_scripts/ci/install-shellcheck.sh (if pulled) or see https://github.com/shellspec/shellspec#installation"
4949
fi
5050
}

0 commit comments

Comments
 (0)