Skip to content

Commit 9b5e241

Browse files
committed
chore: don't use rmDir
1 parent 2b0d2f4 commit 9b5e241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native-builder-bob/src/utils/patchCodegen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export async function patchCodegen(projectPath: string) {
8383
})
8484
);
8585

86-
await fs.rmdir(path.resolve(codegenAndroidPath, 'java/com/facebook'), {
86+
await fs.rm(path.resolve(codegenAndroidPath, 'java/com/facebook'), {
8787
recursive: true,
8888
});
8989
}

0 commit comments

Comments
 (0)