Skip to content

Commit

Permalink
correctly track run attempts
Browse files Browse the repository at this point in the history
Forgot to actually assign 'tried'…
  • Loading branch information
novemberborn committed Mar 11, 2016
1 parent 5ad8284 commit 5435820
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ Api.prototype.run = function (files, options) {
var tried = false;
function tryRun() {
if (!tried && !bailed) {
tried = true;
unreportedFiles--;
if (unreportedFiles === 0) {
run();
Expand Down

0 comments on commit 5435820

Please sign in to comment.