mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Merge pull request #18714 from atom/aw/new-file
Fix application:new-file command
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