es6 - use Array.find over find

This commit is contained in:
Benjamin Pasero
2020-05-04 09:28:16 +02:00
parent 2e80a8f99e
commit 7d8f9cf789
8 changed files with 11 additions and 15 deletions

View File

@@ -502,7 +502,7 @@ export class CodeWindow extends Disposable implements ICodeWindow {
}
private onWindowError(error: WindowError): void {
this.logService.error(error === WindowError.CRASHED ? '[VS Code]: render process crashed!' : '[VS Code]: detected unresponsive');
this.logService.error(error === WindowError.CRASHED ? '[VS Code]: renderer process crashed!' : '[VS Code]: detected unresponsive');
// If we run extension tests from CLI, showing a dialog is not
// very helpful in this case. Rather, we bring down the test run