ogit
Version:
A lazy developer's Git CLI made simple. Makes using git on cloud IDEs (i.e. C9) a walk in the park.
17 lines (16 loc) • 558 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
require("reflect-metadata");
const command_1 = require("@oclif/command");
class default_1 extends command_1.Command {
runHelper() {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
const commitHashes = yield this.getCommitHashes();
for (const commitHash of commitHashes) {
yield this.preformRevertOnCommit(commitHash);
}
});
}
}
exports.default = default_1;