Skip to content

Commit bf0af78

Browse files
author
Dave Bartolomeo
committed
Remove unnecessary spread operator
1 parent 5251f06 commit bf0af78

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

extensions/ql-vscode/src/legacy-query-server/run-queries.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,7 @@ export async function compileAndRunQueryAgainstDatabaseCore(
445445
void showAndLogExceptionWithTelemetry(error);
446446
}
447447

448-
return {
449-
...translateLegacyResult(result),
450-
};
448+
return translateLegacyResult(result);
451449
} else {
452450
// Error dialogs are limited in size and scrollability,
453451
// so we include a general description of the problem,

0 commit comments

Comments
 (0)