Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tskimmett committed Oct 7, 2024
1 parent 95caf09 commit 33acad1
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,9 @@ private static Action<OptionsBuilder<AzureQueueOptions>> GetQueueOptionBuilder(I
if (!string.IsNullOrEmpty(connectionString))
{
if (Uri.TryCreate(connectionString, UriKind.Absolute, out var uri))
{
options.QueueServiceClient = new QueueServiceClient(uri);
}
else
{
options.QueueServiceClient = new QueueServiceClient(connectionString);
}
options.QueueServiceClient = Uri.TryCreate(connectionString, UriKind.Absolute, out var uri)
? new QueueServiceClient(uri)
: new QueueServiceClient(connectionString);
}
}
});
Expand Down

0 comments on commit 33acad1

Please sign in to comment.