Browse Source

fixed .env variable being undefined in commands

master
Valentin D. Pinkman 7 years ago
parent
commit
db6b80a4f0
No known key found for this signature in database GPG Key ID: E7D110669FFB8D3E
  1. 2
      src/main/bridge.js
  2. 4
      yarn.lock

2
src/main/bridge.js

@ -27,7 +27,7 @@ const forkBundlePath = path.resolve(__dirname, `${__DEV__ ? '../../' : './'}dist
const bootInternalProcess = () => {
console.log('booting internal process...')
internalProcess = fork(forkBundlePath, {
env: { LEDGER_LIVE_SQLITE_PATH },
env: { ...process.env, LEDGER_LIVE_SQLITE_PATH },
})
internalProcess.on('exit', code => {
console.log(`Internal process ended with code ${code}`)

4
yarn.lock

@ -9989,10 +9989,6 @@ object-keys@~0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-0.4.0.tgz#28a6aae7428dd2c3a92f3d95f21335dd204e0336"
object-path@^0.11.4:
version "0.11.4"
resolved "https://registry.yarnpkg.com/object-path/-/object-path-0.11.4.tgz#370ae752fbf37de3ea70a861c23bba8915691949"
object-visit@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb"

Loading…
Cancel
Save