Skip to content

Commit 4eb8474

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public Stream Load(Uri uri)
1515
{
1616
try
1717
{
18-
if (uri.IsAbsoluteUri && !string.IsNullOrEmpty(uri.Scheme))
18+
if (uri.IsAbsoluteUri)
1919
{
2020
switch (uri.Scheme.ToLowerInvariant())
2121
{

0 commit comments

Comments
 (0)