Skip to content

Commit 66fc27e

Browse files
committed
Remove stray brace from compilation error output
An extra brace was inadvertently introduced into a template literal used to format output text in the event of an error during compilation. This caused the text to end in a pointless `}` For example: ``` Compilation error: exit status 1} ``` After this change, the output text is as expected: ``` Compilation error: exit status 1 ```
1 parent bc365f4 commit 66fc27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-ide-extension/src/node/core-service-impl.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
9696
e.details
9797
);
9898
this.responseService.appendToOutput({
99-
chunk: `${errorMessage}}\n`,
99+
chunk: `${errorMessage}\n`,
100100
severity: 'error',
101101
});
102102
throw new Error(errorMessage);

0 commit comments

Comments
 (0)