remove some debug info
This commit is contained in:
parent
e836f97769
commit
ec0b3ae7ff
6 changed files with 2 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue