From fd289df83e718f36f6961bb31aab4a4b518cea94 Mon Sep 17 00:00:00 2001 From: Hui Zhao Date: Mon, 29 Jan 2024 12:42:06 -0800 Subject: [PATCH] fix(repo): test-github-actions using js-yaml already removed API --- scripts/test-github-actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test-github-actions.js b/scripts/test-github-actions.js index d6523d5f498..e369c837ebb 100755 --- a/scripts/test-github-actions.js +++ b/scripts/test-github-actions.js @@ -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) {