Skip to content

Commit

Permalink
Update src/schema-analyzer.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Anna Henningsen <[email protected]>
  • Loading branch information
paula-stacho and addaleax authored Jan 21, 2025
1 parent 6c7d147 commit 2b08856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schema-analyzer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ export async function getCompletedSchemaAnalyzer(
): Promise<SchemaAnalyzer> {
const analyzer = new SchemaAnalyzer(options);
for await (const doc of verifyStreamSource(source)) {
if (options?.signal?.aborted) throw options.signal.aborted;
if (options?.signal?.aborted) throw options.signal.reason;
analyzer.analyzeDoc(doc);
}
return analyzer;
Expand Down

0 comments on commit 2b08856

Please sign in to comment.