Skip to content

Commit 7ec4317

Browse files
committed
fix: ignore error in tsbuildinfo deletion
closes #867
1 parent 1410c2f commit 7ec4317

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,11 @@ export default async function build({
205205
{ cwd: root }
206206
);
207207

208-
await del([tsbuildinfo]);
208+
try {
209+
await del([tsbuildinfo]);
210+
} catch (e) {
211+
// Ignore
212+
}
209213

210214
if (esm) {
211215
if (outputs?.commonjs && outputs?.module) {

0 commit comments

Comments
 (0)