We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27b856b commit 7b16ea2Copy full SHA for 7b16ea2
packages/catalyst/src/cli/program.ts
@@ -1,7 +1,5 @@
1
import { Command } from 'commander';
2
import { colorize } from 'consola/utils';
3
-import { config } from 'dotenv';
4
-import { resolve } from 'node:path';
5
6
import PACKAGE_INFO from '../../package.json';
7
@@ -17,16 +15,6 @@ import { consola } from './lib/logger';
17
15
18
16
export const program = new Command();
19
20
-config({
21
- path: [
22
- resolve(process.cwd(), '.env'),
23
- resolve(process.cwd(), '.env.local'),
24
- // Assumes the parent directory is the monorepo root:
25
- resolve(process.cwd(), '..', '.env'),
26
- resolve(process.cwd(), '..', '.env.local'),
27
- ],
28
-});
29
-
30
consola.log(colorize('cyanBright', `◢ ${PACKAGE_INFO.name} v${PACKAGE_INFO.version}\n`));
31
32
program
0 commit comments