File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 20
20
21
21
if [[ " ${BROKEN_LINKS} " == ' skiplinkcheck' ]]; then
22
22
broken_links_opt=" --skiplinkcheck"
23
- else
24
- if [[ " ${BROKEN_LINKS} " == ' warnlinkcheck' ]]; then
25
- broken_links_opt=" --warnlinkcheck"
26
- fi
23
+ elif [[ " ${BROKEN_LINKS} " == ' warnlinkcheck' ]]; then
24
+ broken_links_opt=" --warnlinkcheck"
27
25
fi
28
26
29
27
if [[ " ${BUILDKITE_BRANCH} " == " master" ]]; then
Original file line number Diff line number Diff line change @@ -29,9 +29,8 @@ if [[ ${GITHUB_PR_COMMENT_VAR_REBUILD_OPT:="unset"} == "rebuild" ]];then
29
29
rebuild_opt=" --rebuild"
30
30
elif [[ ${GITHUB_PR_COMMENT_VAR_SKIP_OPT:= " unset" } == " skiplinkcheck" ]]; then
31
31
build_args+=" --skiplinkcheck"
32
- if [[ ${GITHUB_PR_COMMENT_VAR_WARN_OPT:= " unset" } == " warnlinkcheck" ]]; then
33
- build_args+=" --warnlinkcheck"
34
- fi
32
+ elif [[ ${GITHUB_PR_COMMENT_VAR_WARN_OPT:= " unset" } == " warnlinkcheck" ]]; then
33
+ build_args+=" --warnlinkcheck"
35
34
fi
36
35
37
36
buildkite-agent \
You can’t perform that action at this time.
0 commit comments