Skip to content

Commit 3da4948

Browse files
authored
Merge pull request #21 from github/copilot/fix-github-actions-workflow-failure
Fix compilation errors from PermissionRequestResultKind enum-to-class refactor
2 parents a912420 + abf63cd commit 3da4948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/github/copilot/sdk/RpcHandlerDispatcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ private void handlePermissionRequest(JsonRpcClient rpc, String requestId, JsonNo
193193

194194
session.handlePermissionRequest(permissionRequest).thenAccept(result -> {
195195
try {
196-
if (PermissionRequestResultKind.NO_RESULT.getValue().equals(result.getKind())) {
196+
if (PermissionRequestResultKind.NO_RESULT.getValue().equalsIgnoreCase(result.getKind())) {
197197
// Handler explicitly abstains — do not send a response,
198198
// allowing another client to handle the request.
199199
return;

0 commit comments

Comments
 (0)