Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
qoomon authored Mar 21, 2024
1 parent 277b716 commit 59da778
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]}`) {
Expand Down

0 comments on commit 59da778

Please sign in to comment.