fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit c12a7d736c - Show all commits

View file

@ -500,12 +500,12 @@ export class GBDeployer implements IGBDeployer {
const nextFolder = urlJoin(remotePath, item.name);
await this.downloadFolder(min, localPath, nextFolder);
} else {
let download = false;
let download = true;
if (Fs.existsSync(itemPath)) {
const dt = Fs.statSync(itemPath);
if (new Date(dt.mtime) < new Date(item.lastModifiedDateTime)) {
download = true;
if (new Date(dt.mtime) > new Date(item.lastModifiedDateTime)) {
download = false;
}
}