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

@ -58,9 +58,8 @@ export default async function migration() {
}
// Read and parse the YAML file
let rawConfig: any;
const fileContents = fs.readFileSync(filePath, "utf8");
rawConfig = yaml.load(fileContents);
const rawConfig: any = yaml.load(fileContents);
rawConfig.server.resource_session_request_param =
"p_session_request";
@ -122,7 +121,7 @@ export default async function migration() {
const traefikFileContents = fs.readFileSync(traefikPath, "utf8");
const traefikConfig = yaml.load(traefikFileContents) as any;
let parsedConfig: any = schema.safeParse(traefikConfig);
const parsedConfig: any = schema.safeParse(traefikConfig);
if (parsedConfig.success) {
// Ensure websecure entrypoint exists
@ -179,7 +178,7 @@ export default async function migration() {
const traefikFileContents = fs.readFileSync(traefikPath, "utf8");
const traefikConfig = yaml.load(traefikFileContents) as any;
let parsedConfig: any = schema.safeParse(traefikConfig);
const parsedConfig: any = schema.safeParse(traefikConfig);
if (parsedConfig.success) {
// delete permanent from redirect-to-https middleware