Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
docs: update message
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Jun 12, 2022
1 parent 7c21ae7 commit 90edc91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxi/src/utils/env.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const overrideEnv = (targetEnv: string) => {
const currentEnv = process.env.NODE_ENV
if (currentEnv && currentEnv !== targetEnv) {
console.warn(`Defined \`NODE_ENV\` will be replaced from \`${currentEnv}\` to \`${targetEnv}\`, to avoid unintended behaviors from libraries.`)
console.warn(`Changing \`NODE_ENV\` from \`${currentEnv}\` to \`${targetEnv}\`, to avoid unintended behavior.`)
}

process.env.NODE_ENV = targetEnv
Expand Down

0 comments on commit 90edc91

Please sign in to comment.