Skip to content

Commit

Permalink
only indicate that we found a project file if it exists; fixes #2620
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcphers committed Apr 12, 2018
1 parent ca5c9c3 commit 7cbf334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/session/projects/SessionProjects.cpp
Expand Up @@ -168,7 +168,7 @@ bool findProjectFile(const std::string& path, std::string* pResult)

FilePath resultPath = r_util::projectFromDirectory(projectFilePath);
*pResult = module_context::createAliasedPath(resultPath);
return true;
return resultPath.exists();
}

// Find an existing .Rproj in a folder, return its full path. Returns empty
Expand Down

0 comments on commit 7cbf334

Please sign in to comment.