Revert "feat: throw an Error if package.json has duplicate "repository" key (#1656)"

This reverts commit b8fb35c7e1.

fixes #1657
This commit is contained in:
Matt Travi
2020-10-12 08:21:24 -05:00
parent b8fb35c7e1
commit 3abcbaf256
5 changed files with 7 additions and 46 deletions
-4
View File
@@ -29,10 +29,6 @@ Please make sure to add the \`repositoryUrl\` to the [semantic-release configura
'docs/usage/configuration.md'
)}).`,
}),
EDUPLICATEREPOSITORYKEY: ({packageJsonPath}) => ({
message: 'Duplicate `"repository"` key in package.json.',
details: `Your package.json file at ${packageJsonPath} has more than one "repository" keys.`,
}),
EGITNOPERMISSION: ({options: {repositoryUrl}, branch: {name}}) => ({
message: 'Cannot push to the Git repository.',
details: `**semantic-release** cannot push the version tag to the branch \`${name}\` on the remote Git repository with URL \`${repositoryUrl}\`.