file-directives
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -11,2 +11,3 @@ #!/usr/bin/env node | ||
var regExVars = []; | ||
var showAllLogs = "false"; | ||
if (process.argv.length > 2) { | ||
@@ -18,4 +19,5 @@ envVars = process.argv[2].split(','); | ||
} | ||
console.log(envVars); | ||
console.log(regExVars); | ||
folder.processFolder(currentPath, envVars, regExVars); | ||
if (process.argv.length > 4) { | ||
showAllLogs = process.argv[4]; | ||
} | ||
folder.processFolder(currentPath, envVars, regExVars, showAllLogs === "true"); |
{ | ||
"name": "file-directives", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Utility to specify pre-package directives to allow automatic code stripping", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
8790
235