Skip to content

Commit 0c5d65a

Browse files
committed
Fix runtime error on second boot.
1 parent 8fbfd49 commit 0c5d65a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react-native/services/FileStore/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class FileStore implements FileStoreInterface {
2121
this.loading = true
2222

2323
const directory = new Directory(Paths.document, 'react-native-app-helpers', 'file-store', subdirectoryName)
24-
directory.create({ intermediates: true })
24+
directory.create({ intermediates: true, idempotent: true, overwrite: false })
2525

2626
this.subdirectoryName = subdirectoryName
2727
} finally {

0 commit comments

Comments
 (0)