mirror of
https://github.com/actions/checkout.git
synced 2025-03-28 11:00:05 +01:00
build
This commit is contained in:
parent
de8b6b8a2f
commit
de540e1926
1 changed files with 1 additions and 1 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -841,7 +841,7 @@ class GitCommandManager {
|
|||
}
|
||||
tryReset() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const output = yield this.execGit(['reset', '--hard', 'HEAD'], true);
|
||||
const output = yield this.execGit(['reset', '--hard', '--recurse-submodules', 'HEAD'], true);
|
||||
return output.exitCode === 0;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue