Skip to content

Commit b839793

Browse files
committed
Chore lint
1 parent 28276da commit b839793

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/CommentCLI/Comment.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,19 @@ package struct Comment: ParsableCommand {
5454
print("inputs.body: \(body)")
5555
let token = ProcessInfo.processInfo.environment["TOKEN"] ?? token
5656
print("inputs.token: \(token)")
57-
58-
let comment = try CommentUseCase(
57+
58+
let useCase = try CommentUseCase(
5959
token: token,
6060
owner: owner,
6161
repo: repo,
6262
number: number,
6363
anchor: anchor,
6464
body: body
6565
)
66-
try await comment.run()
66+
try await useCase.run()
6767
print("Comment successfully created/updated!")
6868
} catch {
69-
Comment.exit(withError: error)
69+
Self.exit(withError: error)
7070
}
7171
}
7272
}

0 commit comments

Comments
 (0)