set default path inside of project.replace

This commit is contained in:
Philip Weiss
2018-03-09 14:04:21 -08:00
parent 9282f07d07
commit e14ffb9420
3 changed files with 17 additions and 6 deletions

View File

@@ -855,7 +855,7 @@ class AtomApplication extends EventEmitter {
}
let openedWindow
if (existingWindow && projectSpecification.paths == null && projectSpecification.config == null) {
if (existingWindow && (projectSpecification == null || projectSpecification.config == null)) {
openedWindow = existingWindow
openedWindow.openLocations(locationsToOpen)
if (openedWindow.isMinimized()) {