Skip to content

Commit

Permalink
Merge pull request #1 from duncanbeevers/fail-on-no-urls
Browse files Browse the repository at this point in the history
Fail on no urls
  • Loading branch information
jrcryer committed Jan 13, 2014
2 parents 7037989 + 5a8797b commit 08fa814
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks/har_gen.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,10 @@ module.exports = function(grunt) {
}
});
});

if (0 === urls.length) {
grunt.log.error('No urls specified');
done(false);
}
});
};

0 comments on commit 08fa814

Please sign in to comment.