Skip to content

Commit 45a38c7

Browse files
author
Chloe Hutchinson
committed
Fix linter error on pre-exit
1 parent 25793ca commit 45a38c7

File tree

2 files changed

+2
-2
lines changed
  • packer
    • linux/conf/buildkite-agent/hooks
    • windows/conf/buildkite-agent/hooks

2 files changed

+2
-2
lines changed

packer/linux/conf/buildkite-agent/hooks/pre-exit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -eu -o pipefail
44

55
# clean up our temporary docker config
66
if [[ -n "${BUILDKITE_DOCKER_CONFIG_TEMP_DIRECTORY:-}" ]]; then
7-
rmdir ${BUILDKITE_DOCKER_CONFIG_TEMP_DIRECTORY}
7+
rmdir "$BUILDKITE_DOCKER_CONFIG_TEMP_DIRECTORY"
88
fi
99

1010
if [[ -n "${BUILDKITE_SECRETS_BUCKET:-}" && "${SECRETS_PLUGIN_ENABLED:-}" == "1" ]] ; then

packer/windows/conf/buildkite-agent/hooks/pre-exit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -eu -o pipefail
44

55
# clean up our temporary docker config
66
if [[ -n "${BUILDKITE_DOCKER_CONFIG_TEMP_DIRECTORY:-}" ]]; then
7-
rmdir ${BUILDKITE_DOCKER_CONFIG_TEMP_DIRECTORY}
7+
rmdir "$BUILDKITE_DOCKER_CONFIG_TEMP_DIRECTORY"
88
fi
99

1010
if [[ -n "${BUILDKITE_SECRETS_BUCKET:-}" && "${SECRETS_PLUGIN_ENABLED:-}" == "1" ]] ; then

0 commit comments

Comments
 (0)