Updated dependencies and fixed new NRT issues

(cherry picked from commit 803c044b60)
This commit is contained in:
Bjarke Berg
2022-09-19 12:36:45 +02:00
committed by Sebastiaan Janssen
parent 1fe4c5169c
commit b2b2903a6e
11 changed files with 30 additions and 19 deletions

View File

@@ -70,7 +70,7 @@ internal class MediaPrependBasePathFileProvider : IFileProvider
if (TryMapSubPath(subpath, out PathString newPath))
{
// KJA changed: use explicit newPath.Value instead of implicit newPath string operator (which calls ToString())
IFileInfo? result = _underlyingFileProvider.GetFileInfo(newPath.Value);
IFileInfo? result = _underlyingFileProvider.GetFileInfo(newPath.Value!);
return result;
}
@@ -84,7 +84,7 @@ internal class MediaPrependBasePathFileProvider : IFileProvider
if (TryMapSubPath(filter, out PathString newPath))
{
// KJA changed: use explicit newPath.Value instead of implicit newPath string operator (which calls ToString())
IChangeToken? result = _underlyingFileProvider.Watch(newPath.Value);
IChangeToken? result = _underlyingFileProvider.Watch(newPath.Value!);
return result;
}