mirror of
https://github.com/bmadcode/BMAD-METHOD.git
synced 2025-12-29 16:14:59 +00:00
we only need one yaml lib
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
const yaml = require('js-yaml');
|
||||
const yaml = require('yaml');
|
||||
const { validateAgentFile } = require('../tools/schema/agent.js');
|
||||
const { glob } = require('glob');
|
||||
|
||||
@@ -182,7 +182,7 @@ function runTest(filePath) {
|
||||
let agentData;
|
||||
|
||||
try {
|
||||
agentData = yaml.load(fileContent);
|
||||
agentData = yaml.parse(fileContent);
|
||||
} catch (parseError) {
|
||||
// YAML parse error
|
||||
if (shouldPass) {
|
||||
|
||||
Reference in New Issue
Block a user