From 65f74d48977fecb823c5bf734642498cc71c4dea Mon Sep 17 00:00:00 2001 From: Charlie Hoover Date: Thu, 27 Apr 2017 13:32:24 -0400 Subject: [PATCH] [#188] Allow disabling of cache --- bin/cli.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/cli.js b/bin/cli.js index f016857..b03e178 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -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; }