fix(core): update
This commit is contained in:
		| @@ -67,9 +67,12 @@ export class Directory { | ||||
|         if(!bucketItem.name) { | ||||
|           return; | ||||
|         } | ||||
|         const subtractedPath = bucketItem.name.replace(this.getBasePath(), ''); | ||||
|         let subtractedPath = bucketItem.name.replace(this.getBasePath(), ''); | ||||
|         if (subtractedPath.startsWith('/')) { | ||||
|           subtractedPath = subtractedPath.substr(1); | ||||
|         } | ||||
|         if (!subtractedPath.includes('/')) { | ||||
|           fileArray.push(new File(this, bucketItem.name)); | ||||
|           fileArray.push(new File(this, subtractedPath)); | ||||
|         } | ||||
|          | ||||
|       }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user