Skip to content

Commit

Permalink
Fix type check script (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
samchungy authored Apr 30, 2023
1 parent 211141f commit 923b336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/copyTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function main() {

if (process.env.GITHUB_ACTIONS) {
const files = await Git.getChangedFiles({ dir });
if (files.length) {
if (files.some(({ path }) => path.startsWith('src/openapi3-ts'))) {
throw new Error('openapi3-ts types need updating');
}
}
Expand Down

0 comments on commit 923b336

Please sign in to comment.