From 5d6155cb43638cd666fd6676b24aa63149611896 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Tue, 17 Feb 2015 18:49:11 -0300 Subject: [PATCH] reads files from BIT_FILE if none given --- bit-wallet/cli-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bit-wallet/cli-utils.js b/bit-wallet/cli-utils.js index 1f47be4..5bab010 100644 --- a/bit-wallet/cli-utils.js +++ b/bit-wallet/cli-utils.js @@ -33,7 +33,7 @@ Utils.shortID = function(id) { Utils.getClient = function(args) { var storage = new Client.FileStorage({ - filename: args.config + filename: args.config || process.env['BIT_FILE'], }); return new Client({ storage: storage,