Skip to content

Commit e97ef8f

Browse files
andrewdacenkofacebook-github-bot
authored andcommitted
Fix dotslash issue in OD (#53842)
Summary: Pull Request resolved: #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
1 parent e639070 commit e97ef8f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • private/react-native-fantom/runner

private/react-native-fantom/runner/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export function runCommand(
146146
encoding: 'utf8',
147147
env: {
148148
...process.env,
149-
PATH: `/usr/local/bin:${process.env.PATH ?? ''}`,
149+
PATH: `/usr/local/bin:/usr/bin:${process.env.PATH ?? ''}`,
150150
},
151151
},
152152
);
@@ -186,7 +186,7 @@ export function runCommandSync(
186186
encoding: 'utf8',
187187
env: {
188188
...process.env,
189-
PATH: `/usr/local/bin:${process.env.PATH ?? ''}`,
189+
PATH: `/usr/local/bin:/usr/bin:${process.env.PATH ?? ''}`,
190190
},
191191
});
192192

0 commit comments

Comments
 (0)