From 59da778fba19d54651de93cda87e285aec4b615f Mon Sep 17 00:00:00 2001 From: Bengt Brodersen Date: Thu, 21 Mar 2024 08:55:02 +0100 Subject: [PATCH] Update index.ts --- index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.ts b/index.ts index 0919d01..00b45fd 100644 --- a/index.ts +++ b/index.ts @@ -59,8 +59,8 @@ export const action = () => run(async () => { }) core.info('Syncing local repository ...') - await exec(`git fetch`, [input.remoteName, githubCommit.sha]) - await exec(`git reset ${githubCommit.sha}`) + await exec('git fetch', [input.remoteName, githubCommit.sha]) + await exec('git reset', [githubCommit.sha]) }) if (import.meta.url === `file://${process.argv[1]}`) {