fix typo in files.ts (#124693)

* fix typo in files.ts

occured -> occurred

* fix typos
This commit is contained in:
Ikko Ashimine
2021-05-27 14:34:17 +09:00
committed by GitHub
parent 5eec3c86e3
commit b5b059d2e2
9 changed files with 9 additions and 9 deletions

View File

@@ -811,7 +811,7 @@ export default class TypeScriptServiceClient extends Disposable implements IType
}
*/
this.logTelemetry('fatalError', { ...(error instanceof TypeScriptServerError ? error.telemetry : { command }) });
console.error(`A non-recoverable error occured while executing tsserver command: ${command}`);
console.error(`A non-recoverable error occurred while executing tsserver command: ${command}`);
if (error instanceof TypeScriptServerError && error.serverErrorText) {
console.error(error.serverErrorText);
}