You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9e0e23e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .github/workflows/mypy_primer_comment.yml
+7-11Lines changed: 7 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -94,15 +94,11 @@ jobs:
94
94
95
95
console.log("Diff from mypy_primer:")
96
96
console.log(data)
97
-
try {
98
-
if (data.trim()) {
99
-
await github.issues.createComment({
100
-
issue_number: context.issue.number,
101
-
owner: context.repo.owner,
102
-
repo: context.repo.repo,
103
-
body: 'Diff from [mypy_primer](https://github.com/hauntsaninja/mypy_primer), showing the effect of this PR on open source code:\n```diff\n' + data + '```'
104
-
})
105
-
}
106
-
} catch (error) {
107
-
console.log(error)
97
+
if (data.trim()) {
98
+
await github.issues.createComment({
99
+
issue_number: context.issue.number,
100
+
owner: context.repo.owner,
101
+
repo: context.repo.repo,
102
+
body: 'Diff from [mypy_primer](https://github.com/hauntsaninja/mypy_primer), showing the effect of this PR on open source code:\n```diff\n' + data + '```'
0 commit comments