Bumped to Node 24 and upgraded dependencies.
This commit is contained in:
@@ -13,7 +13,7 @@ async function getIndex(user) {
|
||||
try {
|
||||
const indexFile = await fs.readFile(indexFilePath, 'utf8');
|
||||
|
||||
return yaml.safeLoad(indexFile, { json: true }); // allow duplicate keys
|
||||
return yaml.load(indexFile, { json: true }); // allow duplicate keys
|
||||
} catch (error) {
|
||||
logger.info(`No index file found for '${user.name}' at '${indexFilePath}': ${error.message}`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user