From cd576f1ab918f5b6b6a74fec51a8ed0fdaf16e7c Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Thu, 30 Apr 2020 17:03:29 +0800 Subject: [PATCH] Improve code --- .../Volo/Abp/VirtualFileSystem/VirtualFilePathHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/VirtualFilePathHelper.cs b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/VirtualFilePathHelper.cs index 45887cccfb..03f851a7e3 100644 --- a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/VirtualFilePathHelper.cs +++ b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/VirtualFilePathHelper.cs @@ -10,7 +10,7 @@ namespace Volo.Abp.VirtualFileSystem public static string NormalizePath(string fullPath) { - if (fullPath == "/") + if (fullPath.Equals("/", StringComparison.Ordinal)) { return string.Empty; }