Navigation Menu

Skip to content

Commit

Permalink
removed extra || arg === '-k'
Browse files Browse the repository at this point in the history
  • Loading branch information
devinrhode2 committed Mar 5, 2012
1 parent 525522f commit 968798b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/supervisor.js
Expand Up @@ -42,7 +42,7 @@ function run (args) {

} else if (arg === "--keep-restarting" || arg === '-k') {
noRestartOn = null;
} else if (arg === "--no-restart-on-error" || arg === '-k') {
} else if (arg === "--no-restart-on-error") {
noRestartOn = 'error';
} else if (arg === "--") {
// Remaining args are: program [args, ...]
Expand Down

0 comments on commit 968798b

Please sign in to comment.