Skip to content

Commit 64e2f6b

Browse files
committed
fix dotenv directory
1 parent d7bc3fc commit 64e2f6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import type { PushStatusOptions } from './reunite/commands/push-status';
3333
import type { PushArguments } from './types';
3434
import type { EjectOptions } from './commands/eject';
3535

36-
dotenv.config({ path: path.resolve(__dirname, '../.env') });
36+
dotenv.config({ path: path.resolve(process.cwd(), './.env') });
3737

3838
if (!('replaceAll' in String.prototype)) {
3939
require('core-js/actual/string/replace-all');

0 commit comments

Comments
 (0)