Skip to content

Commit b8f5c8a

Browse files
committed
fix: integration tests fails after project open flow changes
1 parent 4dd32df commit b8f5c8a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/project/ProjectManager.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,6 +1468,12 @@ define(function (require, exports, module) {
14681468
_openProject(null, result);
14691469
return result.promise();
14701470
}
1471+
const rootPath = ProjectModel._ensureTrailingSlash(path);
1472+
if(rootPath === getWelcomeProjectPath()) {
1473+
// welcome project path is always guaranteed to be present!
1474+
_openProject(rootPath, result);
1475+
return result.promise();
1476+
}
14711477

14721478
const rootEntry = FileSystem.getDirectoryForPath(path);
14731479
rootEntry.exists(function (err, exists) {

0 commit comments

Comments
 (0)