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.
Files changed (2) hide show
  1. data/lib/command_t/ex/command_t.rb +2 -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? path
24
- VER.find_or_create_buffer(path)
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
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Simon Hafner