mirror of
https://github.com/fosrl/pangolin.git
synced 2025-12-13 03:28:19 +00:00
Adjust const one more time
This commit is contained in:
@@ -44,8 +44,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;
|
||||
|
||||
if (!rawConfig.flags) {
|
||||
rawConfig.flags = {};
|
||||
|
||||
Reference in New Issue
Block a user