mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-31 06:59:33 +02:00
Fix linter errors
This commit is contained in:
parent
704ded4410
commit
32ba17cf91
22 changed files with 22 additions and 22 deletions
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 =
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue