Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
59naga committed Mar 20, 2016
1 parent 06ecaf2 commit abc9797
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default class Log extends Plugin {
this.output(...args);
});
this.parent.on('fatal', (...args) => {
this.outputFatail(...args);
this.outputFatal(...args);
});

const runLog = (scriptResult) => {
Expand Down Expand Up @@ -158,11 +158,11 @@ export default class Log extends Plugin {

/**
* @public
* @method outputFatail
* @method outputFatal
* @param {any} args
* @returns {undefined}
*/
outputFatail(...args) {
outputFatal(...args) {
const ms = this.getElapsed();
const msColored = chalk.gray(`+ ${ms}`);
this.opts.process.stdout.write(`${msColored} ${Log.iconFatal} ${args.join(' ')}\n`);
Expand Down

0 comments on commit abc9797

Please sign in to comment.