Skip to content

Commit

Permalink
mypy_primer: fix comment workflow (#12443)
Browse files Browse the repository at this point in the history
Co-authored-by: hauntsaninja <>
  • Loading branch information
hauntsaninja authored Mar 24, 2022
1 parent fec5320 commit aa7c170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mypy_primer_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
let data = fs.readFileSync('fulldiff.txt', { encoding: 'utf8' })
// posting comment fails if too long, so truncate
if (data.length > 30000) {
data = data.substring(0, 30000) + `\n\n... (truncated ${diff.length - 30000} chars) ...\n`
data = data.substring(0, 30000) + `\n\n... (truncated ${data.length - 30000} chars) ...\n`
}
console.log("Diff from mypy_primer:")
Expand Down

0 comments on commit aa7c170

Please sign in to comment.