fix: Add helpful detail to ERELEASEBRANCHES error message (#1188)

This commit is contained in:
Ryan Kennedy
2019-05-23 12:21:17 -07:00
committed by Gregor Martynus
parent 8576f49e54
commit 37bcc9e515
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -183,6 +183,8 @@ Your configuration for the problematic branches is \`${stringify(branches)}\`.`,
details: `A minimum of 1 and a maximum of 3 release branches are required in the [branches configuration](${linkify(
'docs/usage/configuration.md#branches'
)}).
This may occur if your repository does not have a release branch, such as \`master\`.
Your configuration for the problematic branches is \`${stringify(branches)}\`.`,
}),