Skip to content

Commit 6020b66

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

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
@@ -48,7 +48,7 @@ public async Task<Stream> LoadAsync(Uri uri)
4848
switch (uri.Scheme.ToLowerInvariant())
4949
{
5050
case "file":
51-
return File.OpenRead(uri.AbsolutePath);
51+
return File.OpenRead(uri.LocalPath);
5252
case "http":
5353
case "https":
5454
return await HttpClient.GetStreamAsync(uri);

0 commit comments

Comments
 (0)