Skip to content

Commit 2389683

Browse files
committed
fix: out-of-scope variable in catch block
1 parent 80c4b11 commit 2389683

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/integration-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ jobs:
7575
with:
7676
result-encoding: string
7777
script: |
78+
let username;
7879
try {
79-
let username;
8080
if (context.payload.pull_request) {
8181
username = context.payload.pull_request.user.login;
8282
} else {

0 commit comments

Comments
 (0)