From f787e7d544c130d1f240b14444b0ce9724a4f6db Mon Sep 17 00:00:00 2001 From: Jack Bates Date: Fri, 6 Oct 2023 06:25:44 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Usman --- src/git-source-provider.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/git-source-provider.ts b/src/git-source-provider.ts index 1da0bfc..18aed12 100644 --- a/src/git-source-provider.ts +++ b/src/git-source-provider.ts @@ -219,10 +219,10 @@ export async function getSource(settings: IGitSourceSettings): Promise { ) // Set default author - if (!await git.configExists('user.name', true) { + if (!await git.configExists('user.name', true)) { await git.config('user.name', github.context.workflow, true) } - if (!await git.configExists('user.email', true) { + if (!await git.configExists('user.email', true)) { await git.config('user.email', 'github-actions@github.com', true) } } finally {