Update dependencies (#19408)
* Update dependencies 2 * Lint fixes * Update graphql packages * Update changelog-entry.json * Update @octokit/rest * Update commander with help from @rachmari @rachmari * Upgrade helmet * Upgrade js-yaml * Update server.js * Update cheerio * Revert "Update cheerio" This reverts commit 8aa17c39fbf564ee554037d89e7a473027d16984.
This commit is contained in:
@@ -40,7 +40,7 @@ async function main () {
|
||||
if (path.endsWith('yml')) {
|
||||
let data; let errors = []
|
||||
try {
|
||||
data = yaml.safeLoad(fileContents)
|
||||
data = yaml.load(fileContents)
|
||||
} catch {}
|
||||
if (data && schema) {
|
||||
({ errors } = revalidator.validate(data, schema))
|
||||
|
||||
Reference in New Issue
Block a user