Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
heffergm committed Mar 1, 2016
1 parent b64fb4b commit ad2e41d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opzworks/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def initialize
# set the region and the profile we want to pick up from ~/.aws/credentials
@aws_profile = ENV['AWS_PROFILE'] || 'default'
abort "Could not find [#{@aws_profile}] config block in #{file}, exiting!".foreground(:red) if ini[@aws_profile].empty?
@aws_region = ENV['AWS_REGION'] || ini[@aws_profile]['region']
@aws_region = ENV['AWS_REGION'] || ini[@aws_profile]['region']

@ssh_user_name =
ini[@opzworks_profile]['ssh-user-name'].strip unless ini[@opzworks_profile]['ssh-user-name'].nil?
Expand Down

0 comments on commit ad2e41d

Please sign in to comment.