mirror of
https://github.com/actions/checkout.git
synced 2025-08-24 09:16:11 +00:00
Merge 771ed93a21a7177273819c979931cbd222039466 into 8edcb1bdb4e267140fa742c62e395cd74f332709
This commit is contained in:
commit
7db2442e8e
@ -482,7 +482,7 @@ class GitCommandManager {
|
||||
}
|
||||
|
||||
async tryReset(): Promise<boolean> {
|
||||
const output = await this.execGit(['reset', '--hard', 'HEAD'], true)
|
||||
const output = await this.execGit(['reset', '--hard', 'HEAD', '--'], true)
|
||||
return output.exitCode === 0
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user