fix(core): update

This commit is contained in:
2020-05-17 15:57:12 +00:00
parent 5506db9612
commit c58f465189
8 changed files with 494 additions and 576 deletions

View File

@ -64,7 +64,7 @@ export class Directory {
const fileArray: File[] = [];
const duplexStream = plugins.streamfunction.createDuplexStream<plugins.minio.BucketItem, void>(
async bucketItem => {
if(!bucketItem.name) {
if (!bucketItem.name) {
return;
}
let subtractedPath = bucketItem.name.replace(this.getBasePath(), '');
@ -74,7 +74,6 @@ export class Directory {
if (!subtractedPath.includes('/')) {
fileArray.push(new File(this, subtractedPath));
}
},
async tools => {
done.resolve();