Skip to content

Commit

Permalink
Added better checks on when prototype data is validated
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfernandez committed Nov 22, 2024
1 parent 7e7cfe1 commit 398bc72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ repos:
name: Validate 2.0.x prototype data
types:
- json
files: ^prototype-data/2.0.x/.*\.json$
files: ^(json-schemas|prototype-data)/2.0.x/.*\.json$
require_serial: true
pass_filenames: false
args: [ "-c", "json-schemas/2.0.x", "prototype-data/2.0.x" ]
Expand All @@ -45,7 +45,7 @@ repos:
name: Validate 1.0.x prototype data
types:
- json
files: ^prototype-data/1.0.x/.*\.json$
files: ^(json-schemas|prototype-data)/1.0.x/.*\.json$
require_serial: true
pass_filenames: false
args: [ "-c", "json-schemas/1.0.x", "prototype-data/1.0.x" ]
Expand Down

0 comments on commit 398bc72

Please sign in to comment.