Skip to content

Commit

Permalink
# remove branch snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
czy21 committed Dec 15, 2024
1 parent b266cdb commit 0ca122e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions static/firmware/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -785,12 +785,12 @@ function setup_uci_defaults() {
}

function insertSnapshotVersions(versions) {
for (const version of versions.slice()) {
let branch = version.split(".").slice(0, -1).join(".") + "-SNAPSHOT";
if (!versions.includes(branch)) {
versions.push(branch);
}
}
// for (const version of versions.slice()) {
// let branch = version.split(".").slice(0, -1).join(".") + "-SNAPSHOT";
// if (!versions.includes(branch)) {
// versions.push(branch);
// }
// }
versions.push("SNAPSHOT");
}

Expand Down

0 comments on commit 0ca122e

Please sign in to comment.