Skip to content

Commit a090a37

Browse files
Fix the gap between the start of a maintenance period for an LTS and the new LTS start
1 parent ba45415 commit a090a37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stackbrew.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ for (version of versions) {
3838
let maintenance = new Date(`${config[version].maintenance}T00:00:00.00`).getTime();
3939
let isCurrent = foundCurrent ? false : isNaN(lts) || lts >= now;
4040
foundCurrent = isCurrent || foundCurrent;
41-
let isLTS = foundLTS ? false : (maintenance >= now) && (now >= lts);
41+
let isLTS = foundLTS ? false : (now >= lts);
4242
foundLTS = isLTS || foundLTS;
4343
let codename = config[version].codename
4444
let defaultAlpine = config[version]['alpine-default']

0 commit comments

Comments
 (0)