File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 85
85
"prism-react-renderer" : " 1.3.3" ,
86
86
"react" : " 17.0.2" ,
87
87
"react-dom" : " 17.0.2" ,
88
- "ts-node" : " 10.8.0 " ,
89
- "typedoc" : " 0.22.15 " ,
90
- "typescript" : " 4.6.4 " ,
88
+ "ts-node" : " 10.8.1 " ,
89
+ "typedoc" : " 0.22.17 " ,
90
+ "typescript" : " 4.7.3 " ,
91
91
"url-loader" : " 4.1.1"
92
92
},
93
93
"publishConfig" : {
Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ export function execute(args: ExecutionArgs): PromiseOrValue<ExecutionResult> {
170
170
const exeContext = buildExecutionContext ( args ) ;
171
171
172
172
// Return early errors if execution context failed.
173
- if ( Array . isArray ( exeContext ) ) {
173
+ if ( Array . isArray ( exeContext ) || ! ( 'schema' in exeContext ) ) {
174
174
return { errors : exeContext } ;
175
175
}
176
176
@@ -1090,7 +1090,7 @@ export function createSourceEventStream(
1090
1090
const exeContext = buildExecutionContext ( args ) ;
1091
1091
1092
1092
// Return early errors if execution context failed.
1093
- if ( Array . isArray ( exeContext ) ) {
1093
+ if ( Array . isArray ( exeContext ) || ! ( 'schema' in exeContext ) ) {
1094
1094
return { errors : exeContext } ;
1095
1095
}
1096
1096
You can’t perform that action at this time.
0 commit comments