Skip to content

Commit 7c58e71

Browse files
committed
fix: find tsc in yarn workspace by ensuring no extra ANSI characters are present in 'yarn bin tsc'
1 parent eb0e43f commit 7c58e71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-native-builder-bob/src/targets/typescript.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export default async function build({
112112
if (cli === 'yarn') {
113113
const result = await spawn('yarn', ['bin', 'tsc'], {
114114
cwd: root,
115+
env: { ...process.env, FORCE_COLOR: '0' },
115116
});
116117

117118
tsc = result.trim();

0 commit comments

Comments
 (0)