Remove Accidentally Added Logs in #689 (#691)

[SKIP]
This commit is contained in:
Integer Limit 2024-03-27 22:06:56 +11:00 committed by GitHub
parent 3275593617
commit fb863f5502
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 7 deletions

View File

@ -21,18 +21,12 @@ export default async function parseParser(data: ChangelogData, parser: Parser):
if (data.shaList.has(commit.hash)) continue; if (data.shaList.has(commit.hash)) continue;
let savedFix: FixUpInfo = undefined; let savedFix: FixUpInfo = undefined;
console.log(`Parsing Commit ${commit.hash} with Parser ${parser.dirs}`)
console.log(Array.from(data.commitFixes.values()))
if (data.commitFixes.has(commit.hash)) { if (data.commitFixes.has(commit.hash)) {
const fixUpInfo = data.commitFixes.get(commit.hash); const fixUpInfo = data.commitFixes.get(commit.hash);
if (!parser.applyFixCalback || parser.applyFixCalback(fixUpInfo)) { if (!parser.applyFixCalback || parser.applyFixCalback(fixUpInfo)) {
applyFix(commit, fixUpInfo); applyFix(commit, fixUpInfo);
console.log("Applying Fix");
console.log(fixUpInfo);
} else { } else {
savedFix = fixUpInfo; savedFix = fixUpInfo;
console.log("Saving Fix");
console.log(fixUpInfo);
} }
} }

View File

@ -154,7 +154,6 @@ export async function parseIgnore(commitBody: string, commitObject: Commit): Pro
*/ */
export async function parseFixUp(commit: Commit, fix?: FixUpInfo): Promise<boolean> { export async function parseFixUp(commit: Commit, fix?: FixUpInfo): Promise<boolean> {
if (!commit.body || !commit.body.includes(fixUpKey)) return false; if (!commit.body || !commit.body.includes(fixUpKey)) return false;
console.log(commit.hash, Array.from(data.commitFixes.values()), fix)
await parseTOMLWithRootToList<FixUpInfo>( await parseTOMLWithRootToList<FixUpInfo>(
commit.body, commit.body,
commit, commit,