mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-20 01:50:04 +00:00
fix syntax for rubocop 0.48.1
This commit is contained in:
parent
d8df357993
commit
45ead1e24e
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ module MPW
|
|||
special: false,
|
||||
length: 16 }
|
||||
|
||||
%w(numeric special alpha length).each do |k|
|
||||
%w[numeric special alpha length].each do |k|
|
||||
if options.key?("pwd_#{k}".to_sym)
|
||||
password[k.to_sym] = options["pwd_#{k}".to_sym]
|
||||
elsif !@password.nil? && @password.key?(k.to_sym)
|
||||
|
|
Loading…
Add table
Reference in a new issue