Merge pull request #18714 from atom/aw/new-file

Fix application:new-file command
This commit is contained in:
Ash Wilson
2019-01-17 10:39:40 -05:00
committed by GitHub

View File

@@ -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
}