Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Fix user dir of utilAppRunner and also add deps requried by tools/lib…
Browse files Browse the repository at this point in the history
…/transactionHelpers.js

Auditors: @bsclifton, @willy-b

Test Plan:
1. run `npm run add-simulated-payment-history`
2. fake payment history should be generated under brave-development
  • Loading branch information
darkdh committed Mar 3, 2017
1 parent 96dfd5c commit 1db81cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
"flow-bin": "^0.22.1",
"git-rev-sync": "^1.8.0",
"gulp": "^3.9.0",
"joi": "^10.2.2",
"jsdom": "9.4.1",
"jsdom-global": "2.0.0",
"jsdox": "^0.4.9",
Expand Down
2 changes: 1 addition & 1 deletion tools/utilAppRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function runUtilApp (cmd, file, stdioOptions) {
}
cmd = cmd.split(' ')
if (process.env.NODE_ENV === 'development') {
cmd.push('--user-data-dir=../../../brave-development')
cmd.push('--user-data-dir=brave-development')
}
const utilApp = proc.spawnSync('electron', [utilAppDir].concat(cmd), options)
if (utilApp.error) {
Expand Down

1 comment on commit 1db81cb

@bsclifton
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++!

Please sign in to comment.