diff options
author | nosami <jasonimison@gmail.com> | 2019-08-29 17:13:53 +0300 |
---|---|---|
committer | nosami <jasonimison@gmail.com> | 2019-08-29 17:38:51 +0300 |
commit | c2872cc9cc9944fb0da903b836cead02f5ca43e0 (patch) | |
tree | 040bdc3fba8afb7db1725329f264d4e9f4ba9cb9 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs | |
parent | 2dc1de0bf7d2ca0872564cae298cd22cb2c879d9 (diff) |
Add test
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs index a4d7493962..6f1406df4a 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs @@ -383,8 +383,7 @@ namespace MonoDevelop.Ide.Gui.Pads.ProjectPad internal static bool PathExistsInProject (Project project, FilePath path) { - string basePath = path.ToRelative (project.BaseDirectory); - return project.Files.GetFile (path) != null || project.Files.GetFilesInVirtualPath (basePath).Any (); + return project.PathExistsInProject (path); } internal static bool ContainsDirectorySeparator (string name) |