-
Notifications
You must be signed in to change notification settings - Fork 264
fix #722 check path before passing it to basename #726
Conversation
@muayyad-alsadi Can you please add a spec for this? Thanks! |
@50Wliu I'm not very familiar with your code structure the affected function the problem with current specs that they open an existing file |
Just some thoughts: Like @muayyad-alsadi, I'm not familiar with this plugin code, so I'm not sure that my comment makes any real sense. My 2¢ |
This is unnecessary when running Atom with a supported version of Electron. It is true that we'll have to address this eventually, but I think we'll address it in a more comprehensive way. |
what version is the supported version of Electron? |
The version defined here (though note that's for It's currently 0.37.8 for Atom 1.9.0 and up and 0.36.8 for Atom 1.8.0. |
so atom does not support 1.x release of electron? |
As I understand it, Atom isn't officially compatible with Electron 1.x, and as we can see, it's actually not fully compatible with it. But, as far as I can tell, it already works pretty well! |
As of this writing Atom does not support using anything other than the versions defined in its @the-question Feel free to create a new issue. |
understood. @50Wliu is there any published reason for choosing an old legacy version of Electron? any link to any public discussion, ticket/issue, mailing list, ...etc. was picking this specific old random version an aware decision or it just happened like that? |
I opened an issue and here is the link |
0.37.8 is the last pre-1.0 version of Electron. We're not upgrading to 1.x yet as we need to give package authors some time to update and move away from deprecated APIs. |
are we even sure it's about the version of Electron? |
@muayyad-alsadi Can you clarify? |
bug #722 is closed because it's reported on "unsupported version of Electron" I was told Electron new version removed deprecated APIs. I can't see a link between this #722 and Electron version. It was just a guess. |
Newer versions of Electron also use newer versions of Node (specifically I believe v6 or so?). |
#722