Skip to content

Commit 34af0d3

Browse files
committed
fix: fix typescript error message with missing tsconfig
1 parent 8f969b2 commit 34af0d3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,14 @@ export default async function build({
7878
}
7979
} catch (e) {
8080
report.warn(
81-
`Couldn't parse '${project}'. There might be validation errors.`
81+
`Couldn't parse ${kleur.blue(
82+
project
83+
)}. There might be validation errors.`
8284
);
8385
}
8486
} else {
8587
throw new Error(
86-
`Couldn't find a ${kleur.blue('tsconfig.json')} in the project root.`
88+
`Couldn't find a ${kleur.blue(project)} in the project root.`
8789
);
8890
}
8991

0 commit comments

Comments
 (0)