We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47fa752 commit 969fdb6Copy full SHA for 969fdb6
1 file changed
extensions/ql-vscode/src/pure/errors.ts
@@ -78,9 +78,8 @@ export interface ErrorLike {
78
79
function isErrorLike(error: any): error is ErrorLike {
80
if (
81
- error.message !== undefined &&
82
typeof error.message === "string" &&
83
- (error.stack === undefined || typeof error.stack === "string")
+ (typeof error.stack === "undefined" || typeof error.stack === "string")
84
) {
85
return true;
86
}
0 commit comments