Skip to content

Commit e9e53f9

Browse files
sebgieacburdine
authored andcommitted
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
1 parent d2c049e commit e9e53f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/commands/update.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class UpdateCommand extends Command {
6464
skip: (ctx) => !ctx.instance.running,
6565
task: () => {
6666
return this.runCommand(StopCommand, {quiet: true}).catch((error) => {
67-
if (!(error instanceof errors.SystemError) || !error.message.match(/Nu running Ghost instance/)) {
67+
if (!(error instanceof errors.SystemError) || !error.message.match(/No running Ghost instance/)) {
6868
return Promise.reject(error);
6969
}
7070
});

0 commit comments

Comments
 (0)