Skip to content

Commit 2459dec

Browse files
authored
Check circle ci boolean with 1 instead of true (#18)
1 parent 7f049a9 commit 2459dec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/scripts/publish

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ add_param "--strip-prefix" "$PARAM_STRIP_PREFIX"
2424
add_param "--add-prefix" "$PARAM_ADD_PREFIX"
2525

2626
# "1" is the default value for the qlty orb's `total-parts-count` parameter
27-
# While passing `--total-parts-count=1` to `qlty coverage publish` is valid,
27+
# While passing `--total-parts-count=1` to `qlty coverage publish` is valid,
2828
# we are stripping it to avoid potential conflicts with the `--incomplete` flag
2929
# (`--total-parts-count 1 --incomplete` is invalid)
3030
if [[ -n $PARAM_TOTAL_PARTS_COUNT && $PARAM_TOTAL_PARTS_COUNT != "1" ]]; then
@@ -55,7 +55,7 @@ fi
5555

5656
if [ "$PARAM_VALIDATE" = "1" ]; then
5757
params+=("--validate")
58-
58+
5959
if [[ -n $PARAM_VALIDATE_FILE_THRESHOLD ]]; then
6060
params+=("--validate-file-threshold")
6161
params+=("$PARAM_VALIDATE_FILE_THRESHOLD")
@@ -111,6 +111,6 @@ echo "Running: $redacted_command"
111111

112112
# Execute the command
113113
eval "$command"
114-
if [ "$PARAM_SKIP_ERRORS" = "true" ]; then
114+
if [ "$PARAM_SKIP_ERRORS" = "1" ]; then
115115
exit 0
116116
fi

0 commit comments

Comments
 (0)