From 8dddf0c987d47d093c4216b3a5892d56a122bfe3 Mon Sep 17 00:00:00 2001 From: Kenn Jacobsen Date: Fri, 19 Feb 2021 07:19:16 +0100 Subject: [PATCH] Fix build error after merge --- .../DependencyInjection/UmbracoBuilderExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.Common/DependencyInjection/UmbracoBuilderExtensions.cs b/src/Umbraco.Web.Common/DependencyInjection/UmbracoBuilderExtensions.cs index c3b9bb89cc..b51e03b6ac 100644 --- a/src/Umbraco.Web.Common/DependencyInjection/UmbracoBuilderExtensions.cs +++ b/src/Umbraco.Web.Common/DependencyInjection/UmbracoBuilderExtensions.cs @@ -415,7 +415,7 @@ namespace Umbraco.Extensions _webRooFileProvider = webRooFileProvider; } - public IFileInfo GetFileInfo(string subpath) => subpath.InvariantStartsWith(Core.Constants.SystemDirectories.AppPlugins) + public IFileInfo GetFileInfo(string subpath) => subpath.InvariantStartsWith(Constants.SystemDirectories.AppPlugins) ? _contentRootFileProvider.GetFileInfo(subpath) : _webRooFileProvider.GetFileInfo(subpath);