Skip to content

Commit 41160cc

Browse files
authored
Fix primer comment workflow (#7545)
1 parent a018110 commit 41160cc

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
let body

0 commit comments

Comments
 (0)