Skip to content

Commit 01b2ffb

Browse files
committed
Fix double slash.
1 parent 569f248 commit 01b2ffb

File tree

3 files changed

+64
-64
lines changed

3 files changed

+64
-64
lines changed

react-native/services/FileStore/index.tsx

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

2323
await FileSystem.makeDirectoryAsync(
24-
`${FileSystem.documentDirectory}/react-native-app-helpers/file-store/${subdirectoryName}`,
24+
`${FileSystem.documentDirectory}react-native-app-helpers/file-store/${subdirectoryName}`,
2525
{ intermediates: true }
2626
)
2727

@@ -40,7 +40,7 @@ export class FileStore implements FileStoreInterface {
4040
} else if (this.subdirectoryName === null) {
4141
throw new Error('The file store is not loaded.')
4242
} else {
43-
return `${FileSystem.documentDirectory}/react-native-app-helpers/file-store/${this.subdirectoryName}/${uuid}`
43+
return `${FileSystem.documentDirectory}react-native-app-helpers/file-store/${this.subdirectoryName}/${uuid}`
4444
}
4545
}
4646

@@ -54,7 +54,7 @@ export class FileStore implements FileStoreInterface {
5454
this.operationsInProgress++
5555

5656
return await FileSystem.readDirectoryAsync(
57-
`${FileSystem.documentDirectory}/react-native-app-helpers/file-store/${this.subdirectoryName}`
57+
`${FileSystem.documentDirectory}react-native-app-helpers/file-store/${this.subdirectoryName}`
5858
)
5959
} finally {
6060
this.operationsInProgress--

0 commit comments

Comments
 (0)