test commit

This commit is contained in:
alberto-crossmint 2023-12-01 16:09:49 +01:00
parent c4290da204
commit 461527e331

View file

@ -196,6 +196,7 @@ async function createReviewComment(
}
async function main() {
my_bad_name_function();
const prDetails = await getPRDetails();
let diff: string | null;
const eventData = JSON.parse(
@ -257,6 +258,17 @@ async function main() {
}
}
const my_bad_name_function = () => {
let constantVal = 4;
if (2+2==5){
console.log(`${constantVal} should not be changed`);
}
constantVal=5;
console.info("this has a typO");
console.warn(constantVal);
return true;
}
main().catch((error) => {
console.error("Error:", error);
process.exit(1);