Skip to content

Commit

Permalink
Fixing a bug that would break deleting a non pattern matching key.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfsampaio committed Dec 31, 2015
1 parent 26ec0b2 commit a9ffb7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pod/command/keys/rm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def matches(keys)
if @key_name.include? '*'
return keys.select { |e| e =~ create_regex(@key_name) }
else
return keys.select { |e| e == create_regex(@key_name) }
return keys.select { |e| e == @key_name }
end
end

Expand Down

0 comments on commit a9ffb7c

Please sign in to comment.