Skip to content

Commit e4c1484

Browse files
authored
Replace tabs with URL encoded spaces
1 parent 67deda7 commit e4c1484

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.pscale/cli-helper-scripts/ps-create-helper-functions.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ function create-diff-for-ci {
176176
BRANCH_DIFF="${BRANCH_DIFF//'%'/'%25'}"
177177
BRANCH_DIFF="${BRANCH_DIFF//'\n'/'%0A'}"
178178
BRANCH_DIFF="${BRANCH_DIFF//'\r'/'%0D'}"
179+
# replace tabs with URL encoded spaces
180+
BRANCH_DIFF="${BRANCH_DIFF//'\t'/'%09'}"
181+
179182
echo "::set-output name=BRANCH_DIFF::$BRANCH_DIFF"
180183
fi
181184
}

0 commit comments

Comments
 (0)