Merge pull request #2094 from balena-io/expect-invalid-yaml

Avoid reporting balenarc parsing errors
This commit is contained in:
bulldozer-balena[bot] 2020-11-11 17:23:44 +00:00 committed by GitHub
commit 54dc37dbd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,6 +156,7 @@ const EXPECTED_ERROR_REGEXES = [
/must also be provided when using/, // oclif parser (depends-on)
/^Expected an integer/, // oclif parser (flags.integer)
/^Flag .* expects a value/, // oclif parser
/^Error parsing config file.*balenarc\.yml/,
];
// Support unit testing of handleError