Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 57e92f3

Browse files
committed
Merge pull request #342 from zephraph/master
Removed /root switch when opening a directory. Just used select instead.
2 parents ce74fca + e4b6c45 commit 57e92f3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/tree-view.coffee

+1-4
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,7 @@ class TreeView extends View
381381
label: 'Finder'
382382
args: ['-R', pathToOpen]
383383
when 'win32'
384-
if isFile
385-
args = ["/select,#{pathToOpen}"]
386-
else
387-
args = ["/root,#{pathToOpen}"]
384+
args = ["/select,#{pathToOpen}"]
388385

389386
if process.env.SystemRoot
390387
command = path.join(process.env.SystemRoot, 'explorer.exe')

0 commit comments

Comments
 (0)