diff --git a/lib/platform/index.js b/lib/platform/index.js index 691f8cb9e1..4eb8fdb1a0 100644 --- a/lib/platform/index.js +++ b/lib/platform/index.js @@ -51,7 +51,6 @@ async function initPlatform(config) { name: gitAuthorParsed.name, email: gitAuthorParsed.address, }; - delete returnConfig.gitAuthor; const platformRule = { hostType: returnConfig.platform, hostName: URL.parse(returnConfig.endpoint).hostname, diff --git a/test/platform/__snapshots__/index.spec.js.snap b/test/platform/__snapshots__/index.spec.js.snap index 8c968b19a1..85414a719a 100644 --- a/test/platform/__snapshots__/index.spec.js.snap +++ b/test/platform/__snapshots__/index.spec.js.snap @@ -138,6 +138,7 @@ Array [ exports[`platform initializes 1`] = ` Object { "endpoint": "https://api.bitbucket.org/", + "gitAuthor": "user@domain.com", "hostRules": Array [ Object { "hostName": "api.bitbucket.org",