mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-09 12:26:34 +00:00
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 ```
This commit is contained in:
parent
bc365f4a8d
commit
66fc27e58c
@ -96,7 +96,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
|
|||||||
e.details
|
e.details
|
||||||
);
|
);
|
||||||
this.responseService.appendToOutput({
|
this.responseService.appendToOutput({
|
||||||
chunk: `${errorMessage}}\n`,
|
chunk: `${errorMessage}\n`,
|
||||||
severity: 'error',
|
severity: 'error',
|
||||||
});
|
});
|
||||||
throw new Error(errorMessage);
|
throw new Error(errorMessage);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user