public static List<String> getDefaultWorkingDirectory(@Nullable Project project) {
List<String> paths = ContainerUtil.newArrayList();
if (project == null) return paths;
VirtualFile baseDir = project.getBaseDir();
if (baseDir == null) return paths;
<BUG>if (baseDir.findChild(FOLDER_PLATFORMS) != null ||
baseDir.findChild(FOLDER_WWW) != null ||
baseDir.findChild(FOLDER_CORDOVA) != null) {
ContainerUtil.addIfNotNull(paths, project.getBasePath());</BUG>
}

public static List<String> getDefaultWorkingDirectory(@Nullable Project project) {
List<String> paths = ContainerUtil.newArrayList();
if (project == null) return paths;
VirtualFile baseDir = project.getBaseDir();
if (baseDir == null) return paths;
if (folderExist(baseDir, FOLDER_PLATFORMS) ||
folderExist(baseDir, FOLDER_WWW) ||
folderExist(baseDir, FOLDER_CORDOVA)) {
ContainerUtil.addIfNotNull(paths, project.getBasePath());
}
