fix: restore gitAuthor to config to allow use in templating

Closes https://github.com/renovatebot/config-help/issues/275
This commit is contained in:
Rhys Arkins 2019-06-17 15:49:49 +02:00
parent 2f2c0736f6
commit 27746996f6
2 changed files with 1 additions and 1 deletions

View file

@ -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,

View file

@ -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",