From 2f0053c4e084517c997b033c97ca11f1e3763677 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Mon, 11 Jun 2018 17:44:29 +0300 Subject: [PATCH] Minor refacctor --- .../UI/Bundling/Styles/StyleBundler.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI/UI/Bundling/Styles/StyleBundler.cs b/src/Volo.Abp.AspNetCore.Mvc.UI/UI/Bundling/Styles/StyleBundler.cs index 1c521d3230..8849a58e75 100644 --- a/src/Volo.Abp.AspNetCore.Mvc.UI/UI/Bundling/Styles/StyleBundler.cs +++ b/src/Volo.Abp.AspNetCore.Mvc.UI/UI/Bundling/Styles/StyleBundler.cs @@ -1,4 +1,3 @@ -using System; using Volo.Abp.AspNetCore.Mvc.UI.Minification.Styles; using Volo.Abp.AspNetCore.VirtualFileSystem; @@ -16,9 +15,8 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling.Styles protected override string GetFileContent(IBundlerContext context, string file) { - var content = base.GetFileContent(context, file); return CssRelativePath.Adjust( - content, + base.GetFileContent(context, file), WebRootFileProvider.GetAbsolutePath(file), WebRootFileProvider.GetAbsolutePath(context.BundleRelativePath) );