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 1c80b3a commit 0810ab1Copy full SHA for 0810ab1
lib/cmd-repo-pkg.bash
@@ -4,13 +4,16 @@
4
5
prepare_repo_hook_cmd "$@"
6
7
+if [ "${use_dot_dot_dot:-}" -eq 1 ]; then
8
+ OPTIONS+=('./...')
9
+fi
10
export GO111MODULE=off
11
if [ "${error_on_output:-}" -eq 1 ]; then
- output=$("${cmd[@]}" "${OPTIONS[@]}" ./... 2>&1)
12
+ output=$("${cmd[@]}" "${OPTIONS[@]}" 2>&1)
13
if [ -n "${output}" ]; then
14
printf "%s\n" "${output}"
15
exit 1
16
fi
17
else
- "${cmd[@]}" "${OPTIONS[@]}" ./...
18
+ "${cmd[@]}" "${OPTIONS[@]}"
19
0 commit comments