Skip to content

Commit

Permalink
chore: validate redirects without --strict option
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Jan 29, 2025
1 parent e885c54 commit 980b3bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-check_scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:

- run: yarn content fix-redirects en-US

- run: yarn content validate-redirects en-us --strict
- run: yarn content validate-redirects en-us

build:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default {
"files/en-us/_redirects.txt": (filenames) => [
`yarn content fix-redirects en-US`,
`yarn content validate-redirects en-us --strict`,
`yarn content validate-redirects en-us`,
],
"!*.md": (filenames) => [
`prettier --ignore-unknown --write ${filenames.join(" ")}`,
Expand Down

0 comments on commit 980b3bf

Please sign in to comment.