Explorar o código

ts: Lint fix (#817)

Armani Ferrante %!s(int64=4) %!d(string=hai) anos
pai
achega
a6bac96ac9
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      ts/src/error.ts

+ 2 - 2
ts/src/error.ts

@@ -32,13 +32,13 @@ export class ProgramError extends Error {
     // Parse user error.
     let errorMsg = idlErrors.get(errorCode);
     if (errorMsg !== undefined) {
-      return new ProgramError(errorCode, errorMsg, errorCode + ': ' + errorMsg);
+      return new ProgramError(errorCode, errorMsg, errorCode + ": " + errorMsg);
     }
 
     // Parse framework internal error.
     errorMsg = LangErrorMessage.get(errorCode);
     if (errorMsg !== undefined) {
-      return new ProgramError(errorCode, errorMsg, errorCode + ': ' + errorMsg);
+      return new ProgramError(errorCode, errorMsg, errorCode + ": " + errorMsg);
     }
 
     // Unable to parse the error. Just return the untranslated error.