Skip to content

Commit a22f8e0

Browse files
authored
Merge pull request #3062 from StoDevX/git-diff-everything-for-prettier
Allow git-diff to run across the whole project when prettifying
2 parents 3d04ef5 + b4c1aeb commit a22f8e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ jobs:
188188
name: git diff
189189
command: |
190190
touch logs/prettier # to ensure that the file exists
191-
if ! git diff --quiet *.js source/ scripts/; then
192-
git diff *.js source/ scripts/ | tee logs/prettier
191+
if ! git diff --quiet --stat; then
192+
git diff | tee logs/prettier
193193
exit 1
194194
fi
195195
- run: *run-danger

0 commit comments

Comments
 (0)