Skip to content

Commit b739bb4

Browse files
Fix CI test failure
1 parent 71a2f99 commit b739bb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher.Plugin/SharedCommands/FilesFolders.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public static string ReturnPreviousDirectoryIfIncompleteString(string path)
254254
/// <returns></returns>
255255
public static bool PathContains(string parentPath, string subPath, bool allowEqual = false)
256256
{
257-
var rel = Path.GetRelativePath(parentPath, subPath);
257+
var rel = Path.GetRelativePath(parentPath.EnsureTrailingSlash(), subPath);
258258
return (rel != "." || allowEqual)
259259
&& rel != ".."
260260
&& !rel.StartsWith("../")

0 commit comments

Comments
 (0)