PR Review comments

This commit is contained in:
émeryc
2023-07-12 22:10:23 -04:00
parent 12e7cb0625
commit 43d1e07aba
10 changed files with 11 additions and 13 deletions

View File

@@ -254,7 +254,7 @@ namespace Nuake
SaveRecentFile();
std::string projectPath = _Projects[SelectedProject].Path;
FileSystem::SetRootDirectory(FileSystem::RemoveFileFromPath(projectPath));
FileSystem::SetRootDirectory(FileSystem::GetParentPath(projectPath));
auto project = Project::New();
auto projectFileData = FileSystem::ReadFile(projectPath, true);