configorama 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/main.js +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "configorama",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Variable support for configuration files",
5
5
  "main": "lib/index.js",
6
6
  "files": [
package/src/main.js CHANGED
@@ -469,6 +469,10 @@ class Configorama {
469
469
  console.log()
470
470
  deepLog(foundVariables)
471
471
  console.log()
472
+ /* Exit early if list or info flag is set */
473
+ if (showFoundVariables) {
474
+ process.exit(0)
475
+ }
472
476
  }
473
477
 
474
478
  this.deep = []