chore: remove depNameEscaped

This commit is contained in:
Rhys Arkins 2020-04-07 10:08:39 +02:00
parent 40b6269ac6
commit 57b073a76b
3 changed files with 0 additions and 10 deletions

View file

@ -36,7 +36,6 @@ export const allowedFields = {
currentVersion: 'The current version that is being updated',
datasource: 'The datasource used to look up the upgrade',
depName: 'The name of the dependency being updated',
depNameEscaped: 'The dependency name with forward slashes replace with %2f',
depNameLinked:
'The dependency name already linked to its home page using markdown',
depNameSanitized:

View file

@ -14,7 +14,6 @@ Object {
"canBeUnpublished": false,
"commitMessage": "",
"depName": "some-dep",
"depNameEscaped": "some-dep",
"displayFrom": "",
"displayTo": "0.6.0",
"masterIssueApproval": false,
@ -29,7 +28,6 @@ Object {
"branchName": "some-branch",
"commitMessage": "",
"depName": "some-dep",
"depNameEscaped": "some-dep",
"displayFrom": "",
"displayTo": "0.6.0",
"newValue": "0.6.0",
@ -40,7 +38,6 @@ Object {
"branchName": "some-branch",
"commitMessage": "",
"depName": "@types/some-dep",
"depNameEscaped": "@types%2fsome-dep",
"displayFrom": "",
"displayTo": "0.5.7",
"newValue": "0.5.7",

View file

@ -142,12 +142,6 @@ export function generateBranchConfig(
) {
logger.debug({ config: upgrade }, 'empty displayFrom/displayTo');
}
if (upgrade.depName) {
upgrade.depNameEscaped = (upgrade.lookupName || upgrade.depName).replace(
/\//g,
'%2f'
);
}
upgrade.prettyDepType =
upgrade.prettyDepType || upgrade.depType || 'dependency';
if (useGroupSettings) {