mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
fix: restore gitAuthor to config to allow use in templating
Closes https://github.com/renovatebot/config-help/issues/275
This commit is contained in:
parent
2f2c0736f6
commit
27746996f6
2 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue