We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa7c506 + b361b12 commit ef7443aCopy full SHA for ef7443a
src/commands/util.ts
@@ -35,7 +35,7 @@ function decodeFile(contents: string, format: string): any {
35
return JSON5.parse(contents)
36
case "yml":
37
case "yaml":
38
- return yaml.safeLoad(contents)
+ return yaml.safeLoad(contents, {schema: yaml.CORE_SCHEMA})
39
default:
40
throw new Error(`unsupported file format ${format}`)
41
}
0 commit comments