diff --git a/src/project/ProjectManager.js b/src/project/ProjectManager.js index 1bf0800e5cd..de546b0de07 100644 --- a/src/project/ProjectManager.js +++ b/src/project/ProjectManager.js @@ -1072,7 +1072,10 @@ define(function (require, exports, module) { baseDir = model.getDirectoryInProject(baseDir); if (skipRename) { - return model.createAtPath(baseDir + initialName, isFolder); + if(isFolder) { + return model.createAtPath(baseDir + initialName + "/"); + } + return model.createAtPath(baseDir + initialName); } return actionCreator.startCreating(baseDir, initialName, isFolder); }