mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Open an untitled buffer when pathToOpen is null or undefined
This commit is contained in:
@@ -1376,6 +1376,8 @@ or use Pane::saveItemAs for programmatic saving.`)
|
||||
for (const {location, stats} of locationStats) {
|
||||
const {pathToOpen} = location
|
||||
if (!pathToOpen) {
|
||||
// Untitled buffer
|
||||
fileLocationsToOpen.push(location)
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user