Skip to content

Commit

Permalink
Delete unneeded line for Faker::Internet.password (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakunyo authored and stympy committed Dec 17, 2016
1 parent 0d64f88 commit c0848bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/faker/internet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def password(min_length = 8, max_length = 16, mix_case = true, special_chars = f
diff_rand = rand(diff_length + 1)
temp += Lorem.characters(diff_rand)
end
temp = temp[0..min_length] if min_length > 0

if mix_case
temp.chars.each_with_index do |char, index|
Expand Down

0 comments on commit c0848bf

Please sign in to comment.