Skip to content

Commit

Permalink
Merge pull request balena-io#2094 from balena-io/expect-invalid-yaml
Browse files Browse the repository at this point in the history
Avoid reporting balenarc parsing errors
  • Loading branch information
bulldozer-balena[bot] committed Nov 11, 2020
2 parents 20e0810 + 1b0c14f commit 54dc37d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/errors.ts
Expand Up @@ -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
Expand Down

0 comments on commit 54dc37d

Please sign in to comment.