Skip to content

Commit 7a2ea91

Browse files
authored
Apply suggestion from @VisualBean
Signed-off-by: Alex Wichmann <VisualBean@users.noreply.github.com>
1 parent 4eb8474 commit 7a2ea91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ByteBard.AsyncAPI.Readers/Services/DefaultStreamLoader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public async Task<Stream> LoadAsync(Uri uri)
4343
{
4444
try
4545
{
46-
if (uri.IsAbsoluteUri && !string.IsNullOrEmpty(uri.Scheme))
46+
if (uri.IsAbsoluteUri)
4747
{
4848
switch (uri.Scheme.ToLowerInvariant())
4949
{

0 commit comments

Comments
 (0)