Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Fix New File with no open windows - #10233

Merged
joshaber merged 2 commits into
masterfrom
fix-new-file
Jan 4, 2016
Merged

joshaber merged 2 commits into
masterfrom
fix-new-file

Conversation

@joshaber

Copy link
Copy Markdown
Contributor

Fixes #7171 and #7428.

It'd fail previously with:

TypeError: Cannot read property 'pathToOpen' of undefined

/cc @atom/feedback

Otherwise we’ll get:

TypeError: Cannot read property 'pathToOpen' of undefined

when called from ‘application:new-file’.
Unclear why this is undefined, but apparently it is.
@joshaber

Copy link
Copy Markdown
Contributor Author

(Supersedes #7933.)

@lee-dohm

Copy link
Copy Markdown
Contributor

🚢 Looks good to me!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants