Unverified Commit 5af7cf9e authored by Rodrigo Nascimento's avatar Rodrigo Nascimento Committed by GitHub

Merge pull request #33 from wreiske/master

[FIX] Spelling mistakes
parents c311487a 71a94708
...@@ -39,7 +39,7 @@ export default class Deploy extends Command { ...@@ -39,7 +39,7 @@ export default class Deploy extends Command {
const report = compiler.logDiagnostics(); const report = compiler.logDiagnostics();
if (!report.isValid && !flags.force) { if (!report.isValid && !flags.force) {
this.error('TypeScript compiler error(s) occured'); this.error('TypeScript compiler error(s) occurred');
this.exit(1); this.exit(1);
return; return;
} }
...@@ -100,7 +100,7 @@ export default class Deploy extends Command { ...@@ -100,7 +100,7 @@ export default class Deploy extends Command {
}).then((res: Response) => res.json()); }).then((res: Response) => res.json());
if (deployResult.status === 'error') { if (deployResult.status === 'error') {
throw new Error('Unknown error occured while deploying'); throw new Error('Unknown error occurred while deploying');
} else if (!deployResult.success) { } else if (!deployResult.success) {
throw new Error(`Deployment error: ${ deployResult.error }`); throw new Error(`Deployment error: ${ deployResult.error }`);
} }
......
...@@ -40,7 +40,7 @@ export default class Package extends Command { ...@@ -40,7 +40,7 @@ export default class Package extends Command {
const report = compiler.logDiagnostics(); const report = compiler.logDiagnostics();
if (!report.isValid && !flags.force) { if (!report.isValid && !flags.force) {
this.error('TypeScript compiler error(s) occured'); this.error('TypeScript compiler error(s) occurred');
this.exit(1); this.exit(1);
return; return;
} }
......
...@@ -47,7 +47,7 @@ export default class Submit extends Command { ...@@ -47,7 +47,7 @@ export default class Submit extends Command {
const report = compiler.logDiagnostics(); const report = compiler.logDiagnostics();
if (!report.isValid) { if (!report.isValid) {
this.error('TypeScript compiler error(s) occured'); this.error('TypeScript compiler error(s) occurred');
this.exit(1); this.exit(1);
return; return;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment