Skip to content

Commit

Permalink
fix: CLI defaultPath
Browse files Browse the repository at this point in the history
  • Loading branch information
simonas-notcat committed Feb 11, 2020
1 parent 2f12513 commit 20b70d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/daf-cli/src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import ws from 'ws'
import Debug from 'debug'
const debug = Debug('daf:cli')

const defaultPath = process.env.HOME + '/.daf'
const defaultPath = process.env.HOME + '/.daf/'

const dataStoreFilename = process.env.DAF_DATA_STORE ?? defaultPath + '/data-store-cli.sqlite3'
const dataStoreFilename = process.env.DAF_DATA_STORE ?? defaultPath + 'data-store-cli.sqlite3'
const infuraProjectId = process.env.DAF_INFURA_ID ?? '5ffc47f65c4042ce847ef66a3fa70d4c'

if (!process.env.DAF_IDENTITY_STORE || process.env.DAF_DATA_STORE) {
Expand Down

0 comments on commit 20b70d9

Please sign in to comment.