Fix more nullability errors

This commit is contained in:
Nikolaj Geisle
2022-02-15 15:48:41 +01:00
parent 13b9816ba8
commit 093d336cc7
31 changed files with 74 additions and 69 deletions

View File

@@ -681,7 +681,7 @@ namespace Umbraco.Cms.Core.Packaging
throw new ArgumentException("Value cannot be null or whitespace.", nameof(path));
}
IStylesheet stylesheet = _fileService.GetStylesheet(path);
IStylesheet? stylesheet = _fileService.GetStylesheet(path);
if (stylesheet == null)
{
return null;