mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-17 10:26:39 +00:00
Adjust const one more time
This commit is contained in:
@@ -26,8 +26,7 @@ export default async function migration() {
|
||||
|
||||
// Read and parse the YAML file
|
||||
const fileContents = fs.readFileSync(filePath, "utf8");
|
||||
const rawConfig: any;
|
||||
rawConfig = yaml.load(fileContents);
|
||||
const rawConfig = yaml.load(fileContents) as any;
|
||||
|
||||
// Validate the structure
|
||||
if (!rawConfig.server) {
|
||||
|
||||
Reference in New Issue
Block a user