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

2
lib/actions-util.js generated
View file

@ -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
View file

@ -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

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 {