|
@@ -523,7 +523,7 @@ class RNFetchBlobFS {
|
523
|
523
|
static void mkdir(String path, Promise promise) {
|
524
|
524
|
File dest = new File(path);
|
525
|
525
|
if(dest.exists()) {
|
526
|
|
- promise.reject("EEXIST", dest.isDirectory() ? "Folder" : "File" + " '" + path + "' already exists");
|
|
526
|
+ promise.reject("EEXIST", (dest.isDirectory() ? "Folder" : "File") + " '" + path + "' already exists");
|
527
|
527
|
return;
|
528
|
528
|
}
|
529
|
529
|
try {
|