Skip to content

Commit

Permalink
fix: integration tests fails after project open flow changes
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Dec 13, 2024
1 parent 4dd32df commit b8f5c8a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/project/ProjectManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -1468,6 +1468,12 @@ define(function (require, exports, module) {
_openProject(null, result);
return result.promise();
}
const rootPath = ProjectModel._ensureTrailingSlash(path);
if(rootPath === getWelcomeProjectPath()) {
// welcome project path is always guaranteed to be present!
_openProject(rootPath, result);
return result.promise();
}

const rootEntry = FileSystem.getDirectoryForPath(path);
rootEntry.exists(function (err, exists) {
Expand Down

0 comments on commit b8f5c8a

Please sign in to comment.