Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(update): fix typo in stop error handling (#306)
no issue
- changed Nu to No, I guess this is a typo, if not feel free do close
  • Loading branch information
sebgie authored and acburdine committed Jul 7, 2017
1 parent d2c049e commit e9e53f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/update.js
Expand Up @@ -64,7 +64,7 @@ class UpdateCommand extends Command {
skip: (ctx) => !ctx.instance.running,
task: () => {
return this.runCommand(StopCommand, {quiet: true}).catch((error) => {
if (!(error instanceof errors.SystemError) || !error.message.match(/Nu running Ghost instance/)) {
if (!(error instanceof errors.SystemError) || !error.message.match(/No running Ghost instance/)) {
return Promise.reject(error);
}
});
Expand Down

0 comments on commit e9e53f9

Please sign in to comment.