remove some debug info

This commit is contained in:
Thomas Horstmeyer 2022-02-01 15:31:01 +00:00
parent e836f97769
commit ec0b3ae7ff
6 changed files with 2 additions and 11 deletions

View file

@ -132,15 +132,12 @@ export const determineMergeBaseCommitOid = async function (): Promise<
}
).exec();
core.info("commitOid="+commitOid+" baseOid="+baseOid+" headOid="+headOid); //TODO remove debug line
// Let's confirm our assumptions: We had a merge commit and the parsed parent data looks correct
if (
commitOid === mergeSha &&
headOid.length === 40 &&
baseOid.length === 40
) {
core.info("Returning " + baseOid); // TODO remove debug line
return baseOid;
}
return undefined;

View file

@ -338,8 +338,6 @@ export function buildPayload(
}
}
}
core.info("Using base ref: " + payloadObj.base_ref);
core.info("USing base sha: " + payloadObj.base_sha);
return payloadObj;
} else {
return {