UNPKG

@commitlint/read

Version:

Read commit messages from a specified range or last edit

7 lines 321 B
import gitRawCommits from "git-raw-commits"; import { streamToPromise } from "./stream-to-promise.js"; // Get commit messages from history export async function getHistoryCommits(options, opts = {}) { return streamToPromise(gitRawCommits(options, { cwd: opts.cwd })); } //# sourceMappingURL=get-history-commits.js.map