|
@@ -535,7 +535,7 @@ class RNFetchBlobFS {
|
535
|
535
|
static void mkdir(String path, Promise promise) {
|
536
|
536
|
File dest = new File(path);
|
537
|
537
|
if(dest.exists()) {
|
538
|
|
- promise.reject("EEXIST", dest.isDirectory() ? "Folder" : "File" + " '" + path + "' already exists");
|
|
538
|
+ promise.reject("EEXIST", (dest.isDirectory() ? "Folder" : "File") + " '" + path + "' already exists");
|
539
|
539
|
return;
|
540
|
540
|
}
|
541
|
541
|
try {
|