Bumped to Node 24 and upgraded dependencies.
This commit is contained in:
@@ -61,7 +61,7 @@ async function writeToIndex(posts, profilePaths, user, args) {
|
||||
}
|
||||
|
||||
try {
|
||||
const yamlIndex = yaml.safeDump(data, { skipInvalid: true });
|
||||
const yamlIndex = yaml.dump(data, { skipInvalid: true });
|
||||
const saved = await save(filepath, Buffer.from(yamlIndex, 'utf8'));
|
||||
|
||||
logger.info(`Saved index with ${posts.length} new posts for ${user.name}`);
|
||||
|
||||
Reference in New Issue
Block a user