Skip to content

Commit

Permalink
refactor: args -> config
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jul 5, 2020
1 parent 0918648 commit 7d18476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/git/index.ts
Expand Up @@ -214,7 +214,7 @@ export async function initRepo(args: StorageConfig): Promise<void> {
logger.warn({ err }, 'Cannot retrieve latest commit date');
}
try {
const { gitAuthorName, gitAuthorEmail } = args;
const { gitAuthorName, gitAuthorEmail } = config;
if (gitAuthorName) {
logger.debug({ gitAuthorName }, 'Setting git author name');
await git.raw(['config', 'user.name', gitAuthorName]);
Expand Down

0 comments on commit 7d18476

Please sign in to comment.