breaking: Remove the exclude input

This commit is contained in:
Ardalan Amini committed 2022-03-04 12:06:15 +03:30
1 parent 28e85c2476
commit c72a270e90
8 files changed
+3 -21

No files matched your search

+1 -2
View File
@@ -1,7 +1,7 @@
import { COMMIT_REGEX, InputI, LogsI, PR_REGEX, TYPES } from "./constants";
export async function generate(input: InputI): Promise<string> {
const { octokit, exclude, owner, repo, sha, tagRef } = input;
const { octokit, owner, repo, sha, tagRef } = input;
const repoUrl = `https://github.com/${owner}/${repo}`;
const commits: LogsI = {};
@@ -51,7 +51,6 @@ export async function generate(input: InputI): Promise<string> {
}
return Object.values(TYPES)
.filter((type) => !exclude.includes(type))
.reduce((changelog, type) => {
const typeGroup = commits[type];