diff --git a/app/ledger.js b/app/ledger.js index 3de4a09b8fd..ee17169022d 100644 --- a/app/ledger.js +++ b/app/ledger.js @@ -1255,15 +1255,13 @@ var syncWriter = (path, obj, options, cb) => { }) } -const pathSuffix = { development: '-dev', test: '-test' }[process.env.NODE_ENV] || '' - var pathName = (name) => { var parts = path.parse(name) var basePath = process.env.NODE_ENV === 'test' ? path.join(process.env.HOME, '.brave-test-ledger') : app.getPath('userData') - return path.join(basePath, parts.name + pathSuffix + parts.ext) + return path.join(basePath, parts.name + parts.ext) } /**