Skip to content

Commit

Permalink
Specify prettier cache location to avoid secondary effects (#223)
Browse files Browse the repository at this point in the history
Co-authored-by: Sally Young <[email protected]>
  • Loading branch information
plopesc and justafish committed Jul 11, 2023
1 parent 2f04606 commit 68def42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions scaffold/gitignore/common.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ node_modules
# Tests #
#########
test_result
.prettiercache
2 changes: 1 addition & 1 deletion tasks/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tasks:
done
- |
if [ -f ".prettierrc.json" ] && [ -f "yarn.lock" ]; then
yarn prettier --check .
yarn prettier --check --cache-location=.prettiercache .
elif [ -f ".prettierrc.json" ] && [ -f "package-lock.json" ]; then
npm run prettier --check .
fi
Expand Down

0 comments on commit 68def42

Please sign in to comment.