1
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-03-28 11:00:05 +01:00
This commit is contained in:
Hazel 2024-01-03 14:43:41 +00:00
parent de8b6b8a2f
commit de540e1926
No known key found for this signature in database
GPG key ID: C7C5A3D1A085B70F

2
dist/index.js vendored
View file

@ -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;
});
}