Skip to content

Commit bd358fa

Browse files
committed
Switches from yaml.safeLoad to yaml.load
Signed-off-by: Gregor Noczinski <[email protected]>
1 parent da56b59 commit bd358fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/validator/src/cli-validator/run-validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ async function runValidator(cliArgs, parseOptions = {}) {
202202
if (fileExtension === 'json') {
203203
input = JSON.parse(originalFile);
204204
} else if (fileExtension === 'yaml' || fileExtension === 'yml') {
205-
input = readYaml.safeLoad(originalFile);
205+
input = readYaml.load(originalFile);
206206
}
207207

208208
if (!isPlainObject(input)) {

0 commit comments

Comments
 (0)