Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore: scope variables for no-undef
  • Loading branch information
nschonni committed May 1, 2026
commit 503196020c5064b7d49eb72b6de3f746fbdb886c
4 changes: 2 additions & 2 deletions stackbrew.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const slimRE = new RegExp(/\*-slim/);
let foundLTS = false;
let foundCurrent = false;

for (version of versions) {
for (const version of versions) {
let lts = new Date(`${config[version].lts}T00:00:00.00`).getTime();
let maintenance = new Date(`${config[version].maintenance}T00:00:00.00`).getTime();
let isCurrent = foundCurrent ? false : isNaN(lts) || lts >= now;
Expand All @@ -45,7 +45,7 @@ for (version of versions) {
let defaultDebian = config[version]['debian-default']
let variants = config[version].variants
let fullversion;
for (variant in variants) {
for (const variant in variants) {
let dockerfilePath = path.join(version, variant, 'Dockerfile');
let isAlpine = aplineRE.test(variant)
let isSlim = slimRE.test(variant)
Expand Down