Skip to content

Commit af3ddd7

Browse files
committed
Re-added removed parentheses.
1 parent 3e55dd0 commit af3ddd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cli/Microsoft.DotNet.Cli.Utils/PathUtility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public static string GetRelativePath(string path1, string path2, char separator,
213213
}
214214
// Handle scenarios where folder and file have same name (only if os supports same name for file and directory)
215215
// e.g. /file/name /file/name/app
216-
else if (len1 == index && len2 > index + 1 || len1 > index && len2 == index + 1)
216+
else if ((len1 == index && len2 > index + 1) || (len1 > index && len2 == index + 1))
217217
{
218218
break;
219219
}

0 commit comments

Comments
 (0)