mirror of
https://github.com/github/codeql-action
synced 2026-06-01 20:01:46 +03:00
remove some debug info
This commit is contained in:
Generated
-2
@@ -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
Generated
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user