Skip to content

Commit 0b34f00

Browse files
committed
Remove spurious output from pushd/popd
1 parent 0c7490b commit 0b34f00

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

hooks/post-command

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ fi
7979

8080
workdir=${BUILDKITE_PLUGIN_ARTIFACTS_WORKDIR:-.}
8181

82-
pushd "${workdir}"
83-
trap popd EXIT
82+
pushd "${workdir}" > /dev/null
83+
trap "popd > /dev/null" EXIT
8484

8585
bk_agent() {
8686
if ! buildkite-agent artifact "${@}"; then

0 commit comments

Comments
 (0)