fix(core): update
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user