fix
This commit is contained in:
parent
7669cc8aaf
commit
7e78ec23ed
|
|
@ -172,7 +172,9 @@ export const _ = {
|
|||
return {
|
||||
now: Date.now(),
|
||||
current: parseInt(deploy.config.deploy.ts),
|
||||
deploys: deploys.map((e) => parseInt(e.replace(".gz", ""))),
|
||||
deploys: deploys
|
||||
.filter((e) => e.endsWith(".gz"))
|
||||
.map((e) => parseInt(e.replace(".gz", ""))),
|
||||
};
|
||||
}
|
||||
break;
|
||||
|
|
@ -186,7 +188,9 @@ export const _ = {
|
|||
return {
|
||||
now: Date.now(),
|
||||
current: parseInt(deploy.config.deploy.ts),
|
||||
deploys: deploys.map((e) => parseInt(e.replace(".gz", ""))),
|
||||
deploys: deploys
|
||||
.filter((e) => e.endsWith(".gz"))
|
||||
.map((e) => parseInt(e.replace(".gz", ""))),
|
||||
};
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue