mirror of
https://github.com/nodejs/docker-node.git
synced 2025-04-18 17:04:01 +03:00
Fix the gap between the start of a maintenance period for an LTS and the new LTS start
This commit is contained in:
parent
ba45415915
commit
a090a371cd
@ -38,7 +38,7 @@ for (version of versions) {
|
||||
let maintenance = new Date(`${config[version].maintenance}T00:00:00.00`).getTime();
|
||||
let isCurrent = foundCurrent ? false : isNaN(lts) || lts >= now;
|
||||
foundCurrent = isCurrent || foundCurrent;
|
||||
let isLTS = foundLTS ? false : (maintenance >= now) && (now >= lts);
|
||||
let isLTS = foundLTS ? false : (now >= lts);
|
||||
foundLTS = isLTS || foundLTS;
|
||||
let codename = config[version].codename
|
||||
let defaultAlpine = config[version]['alpine-default']
|
||||
|
Loading…
x
Reference in New Issue
Block a user