mirror of
https://github.com/actions/checkout.git
synced 2025-12-13 10:38:26 +00:00
lint: format
This commit is contained in:
@@ -471,7 +471,10 @@ class GitCommandManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async tryReset(): Promise<boolean> {
|
async tryReset(): Promise<boolean> {
|
||||||
const output = await this.execGit(['reset', '--hard', '--recurse-submodules', 'HEAD'], true)
|
const output = await this.execGit(
|
||||||
|
['reset', '--hard', '--recurse-submodules', 'HEAD'],
|
||||||
|
true
|
||||||
|
)
|
||||||
return output.exitCode === 0
|
return output.exitCode === 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user