Skip to content

Commit

Permalink
flips prod env var check in package install script
Browse files Browse the repository at this point in the history
  • Loading branch information
anudaweerasinghe authored and rohanpadhye committed Aug 29, 2023
1 parent 8473333 commit 21a237a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/package-install.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function getPackageManagerByLockfile() {
}

pkgInstall.installAll = () => {
const prod = process.env.NODE_ENV !== 'development';
const prod = process.env.NODE_ENV === 'production';
let command = 'npm install';

const supportedPackageManagerList = exports.supportedPackageManager; // load config from src/cli/package-install.js
Expand Down

0 comments on commit 21a237a

Please sign in to comment.