Skip to content

Commit 00fc696

Browse files
committed
lint
1 parent 76f9a8d commit 00fc696

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/execution/execute.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,11 @@ class CollectedErrors {
127127
this._errorPositions = new Set<Path | undefined>();
128128
this._errors = [];
129129
}
130+
130131
get errors(): ReadonlyArray<GraphQLError> {
131132
return this._errors;
132133
}
134+
133135
add(error: GraphQLError, path: Path | undefined) {
134136
// Do not modify errors list if a response position for this error has already been nulled.
135137
// This check is unnecessary for implementations able to implement proper cancellation.
@@ -139,6 +141,7 @@ class CollectedErrors {
139141
this._errorPositions.add(path);
140142
this._errors.push(error);
141143
}
144+
142145
private _hasNulledPosition(startPath: Path | undefined): boolean {
143146
let path = startPath;
144147
while (path !== undefined) {

0 commit comments

Comments
 (0)