Skip to content

Commit

Permalink
Fix the gap between the start of a maintenance period for an LTS and …
Browse files Browse the repository at this point in the history
…the new LTS start
  • Loading branch information
LaurentGoderre committed Oct 19, 2023
1 parent ba45415 commit a090a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stackbrew.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit a090a37

Please sign in to comment.