Skip to content
Snippets Groups Projects
Commit 7d18476d authored by Rhys Arkins's avatar Rhys Arkins
Browse files

refactor: args -> config

parent 09186488
No related branches found
No related tags found
No related merge requests found
......@@ -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]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment