From 15bd2f6d0b1d7e9019a87212ecebb0eed94c022a Mon Sep 17 00:00:00 2001 From: Isiah Meadows Date: Tue, 5 Jan 2016 14:03:46 -0500 Subject: [PATCH] Simplify code --- cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.js b/cli.js index 129ef03..e2adf22 100755 --- a/cli.js +++ b/cli.js @@ -175,7 +175,7 @@ cli.main(function(args, options) { if (minified !== null) { // Write the output try { - if (output !== null && output !== undefined) { + if (output != null) { fs.writeFileSync(path.resolve(output), minified); } else { -- 2.34.1