feat: adding linter for commits

This commit is contained in:
Carlos Gutierrez
2021-11-22 09:39:27 -06:00
commit 2c7c117aa1
3093 changed files with 1215197 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getHistoryCommits = void 0;
const git_raw_commits_1 = __importDefault(require("git-raw-commits"));
const stream_to_promise_1 = require("./stream-to-promise");
// Get commit messages from history
async function getHistoryCommits(options, opts = {}) {
return (0, stream_to_promise_1.streamToPromise)((0, git_raw_commits_1.default)(options, { cwd: opts.cwd }));
}
exports.getHistoryCommits = getHistoryCommits;
//# sourceMappingURL=get-history-commits.js.map