mirror of
https://github.com/actions/checkout.git
synced 2025-12-13 10:38:26 +00:00
build
This commit is contained in:
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;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user