remove some debug info
This commit is contained in:
parent
e836f97769
commit
ec0b3ae7ff
6 changed files with 2 additions and 11 deletions
2
lib/actions-util.js
generated
2
lib/actions-util.js
generated
|
|
@ -137,12 +137,10 @@ const determineMergeBaseCommitOid = async function () {
|
|||
},
|
||||
},
|
||||
}).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;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
2
lib/upload-lib.js
generated
2
lib/upload-lib.js
generated
|
|
@ -241,8 +241,6 @@ function buildPayload(commitOid, ref, analysisKey, analysisName, zippedSarif, wo
|
|||
}
|
||||
}
|
||||
}
|
||||
core.info("Using base ref: " + payloadObj.base_ref);
|
||||
core.info("USing base sha: " + payloadObj.base_sha);
|
||||
return payloadObj;
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -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