fix(dev-infra): allow for deep merging of pullapprove config aliases (#36915)

Set the yaml parser to support deep merges of yaml aliases,
to support having a default value for all rules to build upon.

PR Close #36915
This commit is contained in:
Joey Perrott 2020-05-04 08:16:56 -07:00 committed by Misko Hevery
parent 87a679b210
commit cc37af2314
1 changed files with 1 additions and 1 deletions

View File

@ -31,5 +31,5 @@ export interface PullApproveConfig {
}
export function parsePullApproveYaml(rawYaml: string): PullApproveConfig {
return parseYaml(rawYaml) as PullApproveConfig;
return parseYaml(rawYaml, {merge: true}) as PullApproveConfig;
}