Avoid reporting balenarc parsing errors

Change-type: patch
Connects-to: #1100
Signed-off-by: Scott Lowe <scott@balena.io>
This commit is contained in:
Scott Lowe 2020-11-11 16:33:59 +01:00
parent 20e0810d2a
commit 1b0c14feab

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