allows for custom merge type

This commit is contained in:
Austin-Fulbright 2024-07-27 00:49:07 -04:00 committed by GitHub
parent 3168084cf5
commit 9f6a7b79ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@ const parseMerge = (merge: MergeAst) => {
const branch = merge.branch;
const id = merge.id ?? '';
const tags = merge.tags ?? undefined;
const type = merge.type !== undefined ? commitType[merge.type] : 0;
const type = merge.type !== undefined ? commitType[merge.type] : undefined;
db.merge(branch, id, type, tags);
};