Skip to content

Commit

Permalink
Merge pull request #8 from creative-commoners/pulls/1.0/or-true
Browse files Browse the repository at this point in the history
FIX Add or true after grep
  • Loading branch information
GuySartorelli authored Aug 7, 2023
2 parents 1ee410b + 839dc8c commit 93229f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ runs:
# Determine if we will rebuild dist file during merge-up
# This is based simply on if there are changes in the client/ directory
REBUILD=0
CLIENT_DIFF_FILES=$(git diff --name-only $INTO_BRANCH...$FROM_BRANCH | grep -P ^client/)
CLIENT_DIFF_FILES=$(git diff --name-only $INTO_BRANCH...$FROM_BRANCH | grep -P ^client/) || true
if [[ $CLIENT_DIFF_FILES != "" ]]; then
REBUILD=1
fi
Expand Down

0 comments on commit 93229f9

Please sign in to comment.