Skip to content

Commit

Permalink
fix: 🩹 inherit environment when running install
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerbenw committed Nov 11, 2024
1 parent 5022649 commit 19fc3db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate-react-native-fixture.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const REACT_NATIVE_NAVIGATION_PEER_DEPENDENCIES = [
// Build the packages
if (!process.env.SKIP_BUILD_PACKAGES) {
// run npm install in the root directory
execFileSync('npm', ['install'], { cwd: ROOT_DIR, stdio: 'inherit' })
execFileSync('npm', ['install'], { cwd: ROOT_DIR, stdio: 'inherit', env: process.env })

// build the packages
const buildArgs = ['run', 'build']
Expand Down

0 comments on commit 19fc3db

Please sign in to comment.