quote the filename
This commit is contained in:
@@ -187,7 +187,7 @@ export function createDirectoryModel(origin, accessToken, api) {
|
||||
if (action === 'copy') result = await this.copy(this.buildFilePath(files[f].folderPath, files[f].name), targetPath);
|
||||
|
||||
if (result.status === 404) {
|
||||
throw `Source file ${files[f].name} not found`;
|
||||
throw `Source file "${files[f].name}" not found`;
|
||||
} else if (result.status === 409) {
|
||||
targetPath += '-copy';
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user