mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
set default path inside of project.replace
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user