mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix dotslash issue in OD (#53842)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53842 Changelog: [Internal] There is a conflict between dotslash in node_modules and in OD it does not invoke buck2 Reviewed By: javache Differential Revision: D82724326 fbshipit-source-id: c90cab58818e0245f8763b729c7e5432735eb05e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e6390703e7
commit
e97ef8f1fb
+2
-2
@@ -146,7 +146,7 @@ export function runCommand(
|
||||
encoding: 'utf8',
|
||||
env: {
|
||||
...process.env,
|
||||
PATH: `/usr/local/bin:${process.env.PATH ?? ''}`,
|
||||
PATH: `/usr/local/bin:/usr/bin:${process.env.PATH ?? ''}`,
|
||||
},
|
||||
},
|
||||
);
|
||||
@@ -186,7 +186,7 @@ export function runCommandSync(
|
||||
encoding: 'utf8',
|
||||
env: {
|
||||
...process.env,
|
||||
PATH: `/usr/local/bin:${process.env.PATH ?? ''}`,
|
||||
PATH: `/usr/local/bin:/usr/bin:${process.env.PATH ?? ''}`,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user