Skip to content

Commit

Permalink
Update generate-prompthelper.js
Browse files Browse the repository at this point in the history
  • Loading branch information
iaiuse authored Feb 29, 2024
1 parent 55b690f commit 9d28a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate-prompthelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const frameworks = [];
// Read each file in the frameworks directory
fs.readdirSync(frameworksDir).forEach(file => {
if (path.extname(file) === '.yml') {
const content = fs.readFileSync(path.join(frameworksDir, file), 'utf8');
const yamlContent = fs.readFileSync(path.join(frameworksDir, file), 'utf8');
// 解析YAML内容
const parsedYaml = yaml.load(yamlContent);
// 转换YAML内容到期望的JSON结构
Expand Down

0 comments on commit 9d28a1c

Please sign in to comment.