Skip to content

Commit

Permalink
Merge pull request #505 from arvindd/fsharp_worker_style
Browse files Browse the repository at this point in the history
  • Loading branch information
karb0f0s authored Nov 6, 2023
2 parents 7f28dea + 5bd90e8 commit 52c0413
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ module UpdateHandlerFuncs =
logInfo logger $"Receive message type: {message.Type}"

match message.Text with
| text when message.Text <> "" ->
| text when (not (String.IsNullOrEmpty message.Text)) ->
// We use tryHead here just in case we get an empty
// response from the user
match text.Split(' ') |> Array.tryHead with
Expand Down

0 comments on commit 52c0413

Please sign in to comment.