Skip to content

Commit 9b46a60

Browse files
committed
Fix
1 parent 63c8074 commit 9b46a60

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/scripts/diffPrefixes.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
continue;
2929
}
3030

31-
$path = substr($diffLine, 1);
31+
$pathWithLine = substr($diffLine, 1);
32+
[$path, $lineNumber] = explode(':', $pathWithLine);
3233
$oldFilePath = $oldDir . '/' . $path;
3334
if (!is_file($oldFilePath)) {
3435
continue;

0 commit comments

Comments
 (0)