WIP: Move generation out absolute paths for diff-informed PR ranges

This commit is contained in:
Kasper Svendsen
2025-10-28 10:12:55 +01:00
parent 5e51e6e0db
commit d321539bd2
9 changed files with 43 additions and 63 deletions
+1 -1
View File
@@ -89093,7 +89093,7 @@ Error Response: ${JSON.stringify(error2.response, null, 2)}`
}
}
function getDiffRanges(fileDiff, logger) {
const filename = path10.join(getRequiredInput("checkout_path"), fileDiff.filename).replaceAll(path10.sep, "/");
const filename = fileDiff.filename;
if (fileDiff.patch === void 0) {
if (fileDiff.changes === 0) {
return [];