Skip to content

Commit

Permalink
fix(repo): test-github-actions using js-yaml already removed API
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiSF committed Jan 29, 2024
1 parent ef28a20 commit fd289df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test-github-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const yaml = require('js-yaml');

function parseYamlFile(file) {
const fileContents = fs.readFileSync(file, 'utf8');
return yaml.safeLoad(fileContents);
return yaml.load(fileContents);
}

function getKeyValuesFor(targetKey, yamlObject) {
Expand Down

0 comments on commit fd289df

Please sign in to comment.