Skip to content

Commit

Permalink
Fix incorrect null project warning (#2334)
Browse files Browse the repository at this point in the history
## Test plan

1. Run `Edit Code` action
2. Make sure there is no `EditCodeAction invoked with null project`
warning in the logs
  • Loading branch information
pkukielka authored Sep 23, 2024
1 parent 26de9cf commit a402584
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class EditCodeAction :
val project = editor.project
if (project != null) {
EditCommandPrompt(project, editor, "Edit Code with Cody")
} else {
logger.warn("EditCodeAction invoked with null project")
}
}) {
Expand Down

0 comments on commit a402584

Please sign in to comment.