mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
any path except a directory can open in a window?
all the path detection should probably go in the same place
This commit is contained in:
@@ -83,7 +83,7 @@ windowAdditions =
|
||||
open: (path) ->
|
||||
atomController.window.makeKeyAndOrderFront atomController
|
||||
|
||||
if fs.isFile path
|
||||
if not fs.isDirectory path
|
||||
Event.trigger 'window:open', path
|
||||
|
||||
close: (path) ->
|
||||
|
||||
Reference in New Issue
Block a user