Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Fix build break
Browse files Browse the repository at this point in the history
Signed-off-by: dotnet-bot-corefx-mirror <[email protected]>
  • Loading branch information
jkotas committed Mar 20, 2018
1 parent e431eb2 commit f0e315f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mscorlib/shared/System/IO/PathHelper.Windows.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ internal static string Normalize(ref ValueStringBuilder path)
// Get the full path
GetFullPathName(path.AsSpan(terminate: true), ref builder);

string result = builder.AsSpan().Contains('~')
string result = builder.AsSpan().IndexOf('~') >= 0
? TryExpandShortFileName(ref builder, originalPath: null)
: builder.ToString();

Expand Down

0 comments on commit f0e315f

Please sign in to comment.