Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
swallez committed May 22, 2024
1 parent 8b6dbe2 commit 0c4a7fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/steps/validate-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export default async function validateModel (apiModel: model.Model, restSpec: Ma

const additionalRoots: TypeName[] = [
// ErrorResponse is not referenced anywhere, but any API could return it if an error happens.
{ namespace: '_types', name: 'ErrorResponseBase' },
{ namespace: '_types', name: 'ErrorResponseBase' }
]
additionalRoots.forEach(t => validateTypeRef(t, undefined, new Set()))

Expand Down

0 comments on commit 0c4a7fc

Please sign in to comment.