From 96174005c92d37550b008eebd7ec4c2e07e9ead2 Mon Sep 17 00:00:00 2001 From: Jason Reed Date: Thu, 6 Feb 2020 09:29:57 -0500 Subject: [PATCH] Fix rebase-induced type error --- extensions/ql-vscode/src/query-results.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extensions/ql-vscode/src/query-results.ts b/extensions/ql-vscode/src/query-results.ts index afdb35506..c323a108c 100644 --- a/extensions/ql-vscode/src/query-results.ts +++ b/extensions/ql-vscode/src/query-results.ts @@ -85,6 +85,10 @@ export class CompletedQuery implements QueryWithResults { return this.config.format; } + get didRunSuccessfully(): boolean { + return this.result.resultType === messages.QueryResultType.SUCCESS; + } + toString(): string { return this.interpolate(this.getLabel()); }