Skip to content

Commit

Permalink
Re-use loadEnvFiles from cli-helpers and delete effective duplicate
Browse files Browse the repository at this point in the history
No need to preserve the file in the cli package, as it had an identical
git history up until 36fa1dd, which
was 10 months ago. Since then, the version in @redwood/cli-helpers had
four more commits, so it should be the better version.
  • Loading branch information
Philzen committed Jan 7, 2025
1 parent 5e1ba7e commit 81bbc1c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 81 deletions.
3 changes: 1 addition & 2 deletions packages/cli/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import fs from 'fs-extra'
import { hideBin, Parser } from 'yargs/helpers'
import yargs from 'yargs/yargs'

import { recordTelemetryAttributes } from '@redwoodjs/cli-helpers'
import { loadEnvFiles, recordTelemetryAttributes } from '@redwoodjs/cli-helpers'
import { telemetryMiddleware } from '@redwoodjs/telemetry'

import * as buildCommand from './commands/build'
Expand All @@ -34,7 +34,6 @@ import * as typeCheckCommand from './commands/type-check'
import * as upgradeCommand from './commands/upgrade'
import { findUp } from './lib'
import { exitWithError } from './lib/exit'
import { loadEnvFiles } from './lib/loadEnvFiles'
import * as updateCheck from './lib/updateCheck'
import { loadPlugins } from './plugin'
import { startTelemetry, shutdownTelemetry } from './telemetry/index'
Expand Down
79 changes: 0 additions & 79 deletions packages/cli/src/lib/loadEnvFiles.js

This file was deleted.

0 comments on commit 81bbc1c

Please sign in to comment.