closes #124 with a fix for the consistent file path and better task status between files.

This commit is contained in:
Shane Harris
2021-08-10 14:50:35 +02:00
parent 95f014443a
commit d18e64b018
@@ -135,7 +135,6 @@ export class FilesComponent implements OnInit {
if (!this.appService.fs.existsSync(f.file)) {
return Promise.resolve().then(() => setTimeout(() => this.uploadFile(files, task), 500));
}
console.log(f.file, this.appService.fs.lstatSync(f.file).isDirectory());
if (this.appService.fs.lstatSync(f.file).isDirectory()) {
return new Promise(async resolve => {
this.folderName = this.appService.path.basename(f.file);