Skip to content

Commit c7b6221

Browse files
committed
refactor: fix quotes for dry_run
1 parent 4f1b558 commit c7b6221

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ci/build/release-prep.sh

+1-6
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@ set -euo pipefail
1212
main() {
1313
if [ "${DRY_RUN-}" = 1 ]; then
1414
echo "Performing a dry run..."
15-
# Disabled because shellcheck wants me to do this
16-
# SC2209: Use var=$(command) to assign output (or quote to assign string).
17-
# But neither of those match my needs
18-
# We do this so that the dry run echos the commands instead of running them
19-
# shellcheck disable=SC2209
20-
CMD=echo
15+
CMD="echo"
2116
else
2217
CMD=''
2318
fi

0 commit comments

Comments
 (0)