Skip to content

Commit 4e3bfb5

Browse files
Catch up build errors before running a Java application (#1029)
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
1 parent 47b59df commit 4e3bfb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ async function handleBuildFailure(operationId: string, err: any, progressReporte
5656
});
5757
setErrorCode(error, Number(err));
5858
sendOperationError(operationId, "build", error);
59-
if (!onBuildFailureProceed && (err === lsPlugin.CompileWorkspaceStatus.WITHERROR || err === lsPlugin.CompileWorkspaceStatus.FAILED)) {
59+
if (!onBuildFailureProceed && err) {
6060
if (checkErrorsReportedByJavaExtension()) {
6161
vscode.commands.executeCommand("workbench.actions.view.problems");
6262
}

0 commit comments

Comments
 (0)