Browse Source

Fix #219

Don't set default for "slowDeviceMode" arg because doing so prevents "dotenv" from setting that value even if it's in your .env file (it's a key design criteria of dotenv to not override any existing value). The default value is already set in config.js, so we're fine just dropping it here.
master
Dan Janosik 4 years ago
parent
commit
56438f8aba
No known key found for this signature in database GPG Key ID: C6F8CE9FFDB2CED2
  1. 2
      bin/cli.js

2
bin/cli.js

@ -65,7 +65,7 @@ const args = require('meow')(`
electrumxServers: {alias:'E'},
nodeEnv: {alias:'e', default:'production'},
privacyMode: {type:'boolean'},
slowDeviceMode: {type:'boolean', default:true}
slowDeviceMode: {type:'boolean'}
}
}
).flags;

Loading…
Cancel
Save