Skip to content

Commit

Permalink
modifier 'if' for rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
wstephenson committed Jul 15, 2014
1 parent ad94062 commit 98e8344
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/suse/connect/cli.rb
Expand Up @@ -138,9 +138,7 @@ def extract_options # rubocop:disable MethodLength
end

def extract_environment
if ENV['LANG']
@options[:language] = ENV['LANG']
end
@options[:language] = ENV['LANG'] if ENV['LANG']
end

def check_if_param(opt, message)
Expand Down

0 comments on commit 98e8344

Please sign in to comment.