mirror of
https://github.com/actions/checkout.git
synced 2026-06-19 18:57:20 +08:00
Merge 771ed93a21a7177273819c979931cbd222039466 into 900f2210b1d28bbbd0bd22d17926b9e224e8f231
This commit is contained in:
commit
736cf523ce
@ -587,7 +587,7 @@ class GitCommandManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async tryReset(): Promise<boolean> {
|
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
|
return output.exitCode === 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user