encrypt-env
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -7,5 +7,6 @@ var fs = require('fs'); | ||
module.exports = function (key) { | ||
module.exports = function (key, environments) { | ||
var that = {}; | ||
var environments = JSON.parse(fs.readFileSync('.encrypt-env.json')); | ||
if (environments === undefined) environments = JSON.parse(fs.readFileSync('.encrypt-env.json')); | ||
var env = environments[key]; | ||
@@ -12,0 +13,0 @@ |
{ | ||
"name": "encrypt-env", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "bin": { |
2983