We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7ec00d commit cbf279eCopy full SHA for cbf279e
build/wiki-command-replacer.sh
@@ -38,7 +38,7 @@ execute_command() {
38
39
EXECUTABLE_COMMAND=("${TOKENS[0]}" "${TOKENS[@]:1}")
40
echo >&2 " INFO: running: " "${EXECUTABLE_COMMAND[@]}"
41
- "${EXECUTABLE_COMMAND[@]}"
+ "${EXECUTABLE_COMMAND[@]}" </dev/null || true
42
}
43
44
if [[ -z "${CI:-}" ]]; then
@@ -56,8 +56,7 @@ grep -lrF "${MARKER_START}" _wiki | while read -r file_to_process; do
56
USER_COMMAND="${line##"${MARKER_START}"}"
57
USER_COMMAND="${USER_COMMAND%%"${MARKER_END}"}"
58
59
- # shellcheck disable=SC2310
60
- execute_command "${USER_COMMAND}" </dev/null || true
+ execute_command "${USER_COMMAND}"
61
else
62
echo "${line}"
63
fi
0 commit comments