Skip to content

Commit

Permalink
[cloudhead#188] Allow disabling of cache
Browse files Browse the repository at this point in the history
  • Loading branch information
cphoover committed Apr 27, 2017
1 parent 9fabe33 commit 65f74d4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ if (argv.version) {
process.exit(0);
}

if (argv.cache) {
if (argv.cache === 0 || argv.cache) {
var loweredCache = argv.cache.toLowerCase();
if (loweredCache === 'false' || 'f') {
argv.cache = 0;
}
(options = options || {}).cache = argv.cache;
}

Expand Down

0 comments on commit 65f74d4

Please sign in to comment.