Skip to content

Commit

Permalink
Patch "inject is an update" conflation
Browse files Browse the repository at this point in the history
Getting brittle and fiddly, but lets us roll with drop-through in
case statements a bit longer.
  • Loading branch information
crisptrutski committed May 20, 2015
1 parent 3b55a43 commit bb09a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ process.on('uncaughtException', function(err) {
var inject = true;

case 'update':
var doUpdate = true;
var doUpdate = !inject;

case 'i':
case 'install':
Expand Down

0 comments on commit bb09a07

Please sign in to comment.