Skip to content

Commit 2487f0b

Browse files
andrewdacenkofacebook-github-bot
authored andcommitted
Fix dotslash issue in OD
Summary: Changelog: [Internal] There is a conflict between dotslash in node_modules and in OD it does not invoke buck2 Differential Revision: D82724326
1 parent aacb989 commit 2487f0b

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)