Skip to content

Commit aa7c170

Browse files
authored
mypy_primer: fix comment workflow (#12443)
Co-authored-by: hauntsaninja <>
1 parent fec5320 commit aa7c170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/mypy_primer_comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
let data = fs.readFileSync('fulldiff.txt', { encoding: 'utf8' })
5252
// posting comment fails if too long, so truncate
5353
if (data.length > 30000) {
54-
data = data.substring(0, 30000) + `\n\n... (truncated ${diff.length - 30000} chars) ...\n`
54+
data = data.substring(0, 30000) + `\n\n... (truncated ${data.length - 30000} chars) ...\n`
5555
}
5656
5757
console.log("Diff from mypy_primer:")

0 commit comments

Comments
 (0)