diff --git a/lib/definitions/errors.js b/lib/definitions/errors.js index 51508538..c845168c 100644 --- a/lib/definitions/errors.js +++ b/lib/definitions/errors.js @@ -17,25 +17,25 @@ Your configuration for the \`assets\` option is \`${stringify(assets)}\`.`, }), EINVALIDFAILTITLE: ({failTitle}) => ({ message: 'Invalid `failTitle` option.', - details: `The [failTitle option](${linkify('README.md#failtitle')}) if defined, must be a non empty \`String\`. + details: `The [failTitle option](${linkify('README.md#failtitle')}) if defined, must be a non-empty \`String\`. Your configuration for the \`failTitle\` option is \`${stringify(failTitle)}\`.`, }), EINVALIDFAILCOMMENT: ({failComment}) => ({ message: 'Invalid `failComment` option.', - details: `The [failComment option](${linkify('README.md#failcomment')}) if defined, must be a non empty \`String\`. + details: `The [failComment option](${linkify('README.md#failcomment')}) if defined, must be a non-empty \`String\`. Your configuration for the \`failComment\` option is \`${stringify(failComment)}\`.`, }), EINVALIDLABELS: ({labels}) => ({ message: 'Invalid `labels` option.', - details: `The [labels option](${linkify('README.md#labels')}) if defined, must be a non empty \`String\`. + details: `The [labels option](${linkify('README.md#labels')}) if defined, must be a non-empty \`String\`. Your configuration for the \`labels\` option is \`${stringify(labels)}\`.`, }), EINVALIDASSIGNEE: ({assignee}) => ({ message: 'Invalid `assignee` option.', - details: `The [assignee option](${linkify('README.md#assignee')}) if defined, must be a non empty \`String\`. + details: `The [assignee option](${linkify('README.md#assignee')}) if defined, must be a non-empty \`String\`. Your configuration for the \`assignee\` option is \`${stringify(assignee)}\`.`, }), @@ -43,7 +43,7 @@ Your configuration for the \`labels\` option is \`${stringify(labels)}\`.`, message: 'The git repository URL is not a valid GitLab URL.', details: `The **semantic-release** \`repositoryUrl\` option must a valid GitLab URL with the format \`/.git\`. -By default the \`repositoryUrl\` option is retrieved from the \`repository\` property of your \`package.json\` or the [git origin url](https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes) of the repository cloned by your CI environment.`, +By default, the \`repositoryUrl\` option is retrieved from the \`repository\` property of your \`package.json\` or the [git origin url](https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes) of the repository cloned by your CI environment.`, }), EINVALIDGLTOKEN: ({projectPath}) => ({ message: 'Invalid GitLab token.', @@ -57,7 +57,7 @@ Please make sure to set the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variabl message: `The repository ${projectPath} doesn't exist.`, details: `The **semantic-release** \`repositoryUrl\` option must refer to your GitLab repository. The repository must be accessible with the [GitLab API](https://docs.gitlab.com/ce/api/README.html). -By default the \`repositoryUrl\` option is retrieved from the \`repository\` property of your \`package.json\` or the [git origin url](https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes) of the repository cloned by your CI environment. +By default, the \`repositoryUrl\` option is retrieved from the \`repository\` property of your \`package.json\` or the [git origin url](https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes) of the repository cloned by your CI environment. If you are using [GitLab Enterprise Edition](https://about.gitlab.com/gitlab-ee) please make sure to configure the \`gitlabUrl\` and \`gitlabApiPathPrefix\` [options](${linkify( 'README.md#options'