From 18e45458a803443d87a1b218b2fd4093808b5faa Mon Sep 17 00:00:00 2001 From: per1234 Date: Fri, 14 Jan 2022 14:22:57 -0800 Subject: [PATCH] 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 ``` --- arduino-ide-extension/src/node/core-service-impl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arduino-ide-extension/src/node/core-service-impl.ts b/arduino-ide-extension/src/node/core-service-impl.ts index f0319f511..8d538b257 100644 --- a/arduino-ide-extension/src/node/core-service-impl.ts +++ b/arduino-ide-extension/src/node/core-service-impl.ts @@ -96,7 +96,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService { e.details ); this.responseService.appendToOutput({ - chunk: `${errorMessage}}\n`, + chunk: `${errorMessage}\n`, severity: 'error', }); throw new Error(errorMessage);