Fix ESLint issues: prefer-const warnings and missing semicolons

Co-authored-by: oschwartz10612 <4999704+oschwartz10612@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-07-22 19:07:43 +00:00
parent 4f5091ed7f
commit 2259879595
39 changed files with 50 additions and 62 deletions

View file

@ -271,7 +271,7 @@ export async function getNextAvailableClientSubnet(
)
].filter((address) => address !== null) as string[];
let subnet = findNextAvailableCidr(addresses, 32, org.subnet); // pick the sites address in the org
const subnet = findNextAvailableCidr(addresses, 32, org.subnet); // pick the sites address in the org
if (!subnet) {
throw new Error("No available subnets remaining in space");
}
@ -289,7 +289,7 @@ export async function getNextAvailableOrgSubnet(): Promise<string> {
const addresses = existingAddresses.map((org) => org.subnet!);
let subnet = findNextAvailableCidr(
const subnet = findNextAvailableCidr(
addresses,
config.getRawConfig().orgs.block_size,
config.getRawConfig().orgs.subnet_group