🩹 Set yaml parser to throw error on duplicate key

This commit is contained in:
BetaHuhn 2021-01-09 14:59:41 +01:00
parent 1a716e9a7f
commit 78414681db
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -30284,7 +30284,7 @@ const parseFiles = (files) => {
const parseConfig = async () => {
const fileContent = await fs.promises.readFile(context.CONFIG_PATH)
const configObject = yaml.load(fileContent.toString(), { json: true })
const configObject = yaml.load(fileContent.toString())
const result = {}

View File

@ -124,7 +124,7 @@ const parseFiles = (files) => {
const parseConfig = async () => {
const fileContent = await fs.promises.readFile(context.CONFIG_PATH)
const configObject = yaml.load(fileContent.toString(), { json: true })
const configObject = yaml.load(fileContent.toString())
const result = {}