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

Commit

Permalink
fix: .env file is trying to be included from the wrong directory (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Shuplenkov authored Jul 8, 2020
1 parent 8266ffe commit c83f481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/listr/tasks/startNodeTaskFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function startNodeTaskFactory(dockerCompose) {
throw new Error('You can\'t use drive-image-build-path and dapi-image-build-path options with testnet preset');
}

const envFile = path.join(__dirname, '..', '..', `.env.${preset}`);
const envFile = path.join(__dirname, '..', '..', '..', `.env.${preset}`);
const envRawData = await fs.readFile(envFile);
let { COMPOSE_FILE: composeFile } = dotenv.parse(envRawData);

Expand Down

0 comments on commit c83f481

Please sign in to comment.