Skip to content

Commit

Permalink
chore(cli): Remove empty else block
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy351 committed Jun 10, 2024
1 parent f8f942f commit 38860f3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/cli/src/commands/generate/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ async function importEnvNode(cwd: string): Promise<Environment[]> {
if (BUILD_FORMAT === "cjs") {
// eslint-disable-next-line @typescript-eslint/no-var-requires
envs.push(require(envPath));
} else {
// TODO: Import CommonJS @kosko/env in ESM environment
}

// Why `@kosko/env` package has to be imported twice? Because the cache on
Expand Down

0 comments on commit 38860f3

Please sign in to comment.