UNPKG

673 BJavaScriptView Raw
1"use strict";
2var __importDefault = (this && this.__importDefault) || function (mod) {
3 return (mod && mod.__esModule) ? mod : { "default": mod };
4};
5Object.defineProperty(exports, "__esModule", { value: true });
6exports.getHistoryCommits = void 0;
7const git_raw_commits_1 = __importDefault(require("git-raw-commits"));
8const stream_to_promise_1 = require("./stream-to-promise");
9// Get commit messages from history
10async function getHistoryCommits(options, opts = {}) {
11 return stream_to_promise_1.streamToPromise(git_raw_commits_1.default(options, { cwd: opts.cwd }));
12}
13exports.getHistoryCommits = getHistoryCommits;
14//# sourceMappingURL=get-history-commits.js.map
\No newline at end of file