Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Commit 652df7c

Browse files
committed
Run Prettier first on CI
Fixes some edge case where Prettier doesn't take .gitignore into account and lints against some files under .vscode-test/ (Windows only...?)
1 parent 34df3e6 commit 652df7c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
out
22
node_modules
3-
.vscode-test/
3+
.vscode-test
44
*.vsix

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ before_install:
2525
- export PATH="$HOME/.cargo/bin:$PATH"
2626

2727
script:
28+
- npm run prettier -- --list-different
2829
- npm run compile
29-
- npm run test
3030
- npm run lint
31-
- npm run prettier -- --list-different
31+
- npm run test

0 commit comments

Comments
 (0)