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,
|
name: gitAuthorParsed.name,
|
||||||
email: gitAuthorParsed.address,
|
email: gitAuthorParsed.address,
|
||||||
};
|
};
|
||||||
delete returnConfig.gitAuthor;
|
|
||||||
const platformRule = {
|
const platformRule = {
|
||||||
hostType: returnConfig.platform,
|
hostType: returnConfig.platform,
|
||||||
hostName: URL.parse(returnConfig.endpoint).hostname,
|
hostName: URL.parse(returnConfig.endpoint).hostname,
|
||||||
|
|
|
@ -138,6 +138,7 @@ Array [
|
||||||
exports[`platform initializes 1`] = `
|
exports[`platform initializes 1`] = `
|
||||||
Object {
|
Object {
|
||||||
"endpoint": "https://api.bitbucket.org/",
|
"endpoint": "https://api.bitbucket.org/",
|
||||||
|
"gitAuthor": "user@domain.com",
|
||||||
"hostRules": Array [
|
"hostRules": Array [
|
||||||
Object {
|
Object {
|
||||||
"hostName": "api.bitbucket.org",
|
"hostName": "api.bitbucket.org",
|
||||||
|
|
Loading…
Reference in a new issue