fix(core.gbapp): Fixed no publish of artifacts.
This commit is contained in:
parent
4452a311b1
commit
c12a7d736c
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue