From 20b70d92d464540a1af938b1a45df3b6d39a733f Mon Sep 17 00:00:00 2001 From: Simonas Karuzas Date: Tue, 11 Feb 2020 12:00:57 +0200 Subject: [PATCH] fix: CLI defaultPath --- packages/daf-cli/src/setup.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/daf-cli/src/setup.ts b/packages/daf-cli/src/setup.ts index 0614d5460..7a4d74063 100644 --- a/packages/daf-cli/src/setup.ts +++ b/packages/daf-cli/src/setup.ts @@ -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) {