mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-20 01:50:04 +00:00
add to_s
This commit is contained in:
parent
c29d2e92d2
commit
74d08a7d5b
1 changed files with 1 additions and 1 deletions
2
bin/mpw
2
bin/mpw
|
@ -45,7 +45,7 @@ I18n.locale = lang.to_sym
|
|||
bin_dir = File.dirname(__FILE__)
|
||||
command = "#{bin_dir}/mpw-#{ARGV[0]}"
|
||||
|
||||
if Dir.glob("#{bin_dir}/mpw-*").include?("#{command}")
|
||||
if Dir.glob("#{bin_dir}/mpw-*").include?(command.to_s)
|
||||
begin
|
||||
Kernel.load(command)
|
||||
rescue OptionParser::ParseError => e
|
||||
|
|
Loading…
Add table
Reference in a new issue