ver-command_t 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/command_t/ex/command_t.rb +2 -2
- metadata +2 -2
@@ -20,8 +20,8 @@ class VER::Executor::ExCommandT < VER::Executor::Entry
|
|
20
20
|
|
21
21
|
def action(selected)
|
22
22
|
if selected
|
23
|
-
throw :invalid if File.directory?
|
24
|
-
VER.find_or_create_buffer(
|
23
|
+
throw :invalid if File.directory? selected
|
24
|
+
VER.find_or_create_buffer(selected)
|
25
25
|
else
|
26
26
|
tree.children.each do |child|
|
27
27
|
path = Array(child).first # if more is added later
|