diff options
author | elijah <elijah@riseup.net> | 2016-06-21 17:38:00 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-06-21 17:38:00 -0700 |
commit | 7818abd6a89a882cabb3d2a14a572308d9e959ff (patch) | |
tree | 89927201e4406af2334c4ef97cbe58750426ef3f /lib/leap_cli/commands/inspect.rb | |
parent | 3df7a57d866cf1e6eda9bb9e3fe19c7387ec6c1d (diff) |
minor ruby linting
Diffstat (limited to 'lib/leap_cli/commands/inspect.rb')
-rw-r--r-- | lib/leap_cli/commands/inspect.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/inspect.rb b/lib/leap_cli/commands/inspect.rb index 20654fa7..6f58a65f 100644 --- a/lib/leap_cli/commands/inspect.rb +++ b/lib/leap_cli/commands/inspect.rb @@ -26,7 +26,7 @@ module LeapCli; module Commands } def inspection_method(object) - if File.exists?(object) + if File.exist?(object) ftype = `file #{object}`.split(':').last.strip log 2, "file is of type '#{ftype}'" if FTYPE_MAP[ftype] |