Skip to content

Commit 3f5d17b

Browse files
committed
fix dot env load
1 parent 84e6b6e commit 3f5d17b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/cli/src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
import 'dotenv/config'; // load .env into process.env (overrides globals)
1+
import * as dotenv from 'dotenv';
22
import { Command } from 'commander';
33
import { greet } from '@acme/core';
44

5+
dotenv.config({ override: true });
6+
57
const VERSION = '0.1.0';
68

79
const program = new Command();

0 commit comments

Comments
 (0)