Fix linter errors

This commit is contained in:
Owen 2025-08-23 15:26:43 -07:00
parent 704ded4410
commit 32ba17cf91
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
22 changed files with 22 additions and 22 deletions

View file

@ -24,7 +24,7 @@ export default async function migration() {
// Read and parse the YAML file
const fileContents = fs.readFileSync(filePath, "utf8");
let rawConfig: any;
const rawConfig: any;
rawConfig = yaml.load(fileContents);
delete rawConfig.server.secure_cookies;

View file

@ -26,7 +26,7 @@ export default async function migration() {
// Read and parse the YAML file
const fileContents = fs.readFileSync(filePath, "utf8");
let rawConfig: any;
const rawConfig: any;
rawConfig = yaml.load(fileContents);
if (!rawConfig.flags) {

View file

@ -31,7 +31,7 @@ export default async function migration() {
// Read and parse the YAML file
const fileContents = fs.readFileSync(filePath, "utf8");
let rawConfig: any;
const rawConfig: any;
rawConfig = yaml.load(fileContents);
const baseDomain = rawConfig.app.base_domain;

View file

@ -23,7 +23,7 @@ export default async function migration() {
// Read and parse the YAML file
const fileContents = fs.readFileSync(filePath, "utf8");
let rawConfig: any;
const rawConfig: any;
rawConfig = yaml.load(fileContents);
// Validate the structure

View file

@ -23,7 +23,7 @@ export default async function migration() {
// Read and parse the YAML file
const fileContents = fs.readFileSync(filePath, "utf8");
let rawConfig: any;
const rawConfig: any;
rawConfig = yaml.load(fileContents);
// Validate the structure

View file

@ -26,7 +26,7 @@ export default async function migration() {
// Read and parse the YAML file
const fileContents = fs.readFileSync(filePath, "utf8");
let rawConfig: any;
const rawConfig: any;
rawConfig = yaml.load(fileContents);
// Validate the structure

View file

@ -24,7 +24,7 @@ export default async function migration() {
// Read and parse the YAML file
const fileContents = fs.readFileSync(filePath, "utf8");
let rawConfig: any;
const rawConfig: any;
rawConfig = yaml.load(fileContents);
// Validate the structure

View file

@ -59,7 +59,7 @@ export default async function migration() {
// Read and parse the YAML file
const fileContents = fs.readFileSync(filePath, "utf8");
let rawConfig: any;
const rawConfig: any;
rawConfig = yaml.load(fileContents);
rawConfig.server.resource_session_request_param =

View file

@ -44,7 +44,7 @@ export default async function migration() {
// Read and parse the YAML file
const fileContents = fs.readFileSync(filePath, "utf8");
let rawConfig: any;
const rawConfig: any;
rawConfig = yaml.load(fileContents);
if (!rawConfig.flags) {

View file

@ -177,7 +177,7 @@ export default async function migration() {
}
const fileContents = fs.readFileSync(filePath, "utf8");
let rawConfig: any;
const rawConfig: any;
rawConfig = yaml.load(fileContents);
if (!rawConfig.server.secret) {

View file

@ -45,7 +45,7 @@ export default async function migration() {
// Read and parse the YAML file
const fileContents = fs.readFileSync(filePath, "utf8");
let rawConfig: any;
const rawConfig: any;
rawConfig = yaml.load(fileContents);
if (rawConfig.cors?.headers) {

View file

@ -46,7 +46,7 @@ export default async function migration() {
// Read and parse the YAML file
const fileContents = fs.readFileSync(filePath, "utf8");
let rawConfig: any;
const rawConfig: any;
rawConfig = yaml.load(fileContents);
if (rawConfig.server?.trust_proxy) {