File tree 3 files changed +64
-64
lines changed 3 files changed +64
-64
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export class FileStore implements FileStoreInterface {
21
21
this . loading = true
22
22
23
23
await FileSystem . makeDirectoryAsync (
24
- `${ FileSystem . documentDirectory } / react-native-app-helpers/file-store/${ subdirectoryName } ` ,
24
+ `${ FileSystem . documentDirectory } react-native-app-helpers/file-store/${ subdirectoryName } ` ,
25
25
{ intermediates : true }
26
26
)
27
27
@@ -40,7 +40,7 @@ export class FileStore implements FileStoreInterface {
40
40
} else if ( this . subdirectoryName === null ) {
41
41
throw new Error ( 'The file store is not loaded.' )
42
42
} 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 } `
44
44
}
45
45
}
46
46
@@ -54,7 +54,7 @@ export class FileStore implements FileStoreInterface {
54
54
this . operationsInProgress ++
55
55
56
56
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 } `
58
58
)
59
59
} finally {
60
60
this . operationsInProgress --
You can’t perform that action at this time.
0 commit comments