Skip to content

Commit

Permalink
fix(ci-check): removing *.snap.js files from license check
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffchew committed Nov 6, 2023
1 parent 7bae920 commit 08520d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ jobs:
- name: License check (staged)
if: ${{ github.event_name == 'pull_request' }}
run: pnpm lint:license:staged
- name: Licence check (non-staged)
- name: License check (non-staged)
if: ${{ github.event_name != 'pull_request' }}
run: pnpm lint:license
2 changes: 1 addition & 1 deletion tasks/check-license.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const check = async (paths, options) => {
checkPaths = await globby(
gitIgnorePath.reduce(
(acc, item) => acc.concat(gitignoreToGlob(item)),
['**/*.{js,ts,tsx,scss,html}']
['**/*.{js,ts,tsx,scss,html}','!**/*.snap.js'],
)
);
}
Expand Down

0 comments on commit 08520d8

Please sign in to comment.