We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28276da commit b839793Copy full SHA for b839793
Sources/CommentCLI/Comment.swift
@@ -54,19 +54,19 @@ package struct Comment: ParsableCommand {
54
print("inputs.body: \(body)")
55
let token = ProcessInfo.processInfo.environment["TOKEN"] ?? token
56
print("inputs.token: \(token)")
57
-
58
- let comment = try CommentUseCase(
+
+ let useCase = try CommentUseCase(
59
token: token,
60
owner: owner,
61
repo: repo,
62
number: number,
63
anchor: anchor,
64
body: body
65
)
66
- try await comment.run()
+ try await useCase.run()
67
print("Comment successfully created/updated!")
68
} catch {
69
- Comment.exit(withError: error)
+ Self.exit(withError: error)
70
}
71
72
0 commit comments