From 33a54a6d95b98301c8f67513e977adef3a94bc64 Mon Sep 17 00:00:00 2001 From: Stuart Lang Date: Sun, 21 Oct 2018 11:43:57 +0100 Subject: [PATCH] Update PathUtility.cs --- src/DotnetCleanup/PathUtility.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/DotnetCleanup/PathUtility.cs b/src/DotnetCleanup/PathUtility.cs index 596278f..3cbd64b 100644 --- a/src/DotnetCleanup/PathUtility.cs +++ b/src/DotnetCleanup/PathUtility.cs @@ -10,8 +10,7 @@ internal static class PathUtility public static string GetCleanPath(string path) { return path?.Replace('\\', SeparatorChar) - .Replace('/', SeparatorChar) - .TrimStart(SeparatorChar); + .Replace('/', SeparatorChar); } } -} \ No newline at end of file +}