lib/aws_ec2/profile.rb in aws-ec2-0.8.4 vs lib/aws_ec2/profile.rb in aws-ec2-0.9.0
- old
+ new
@@ -23,10 +23,10 @@
end
def load_profile(file)
return {} unless File.exist?(file)
- puts "Using profile: #{file}"
+ puts "Using profile: #{file}".colorize(:green)
data = YAML.load(erb_result(file))
data ? data : {} # in case the file is empty
data.has_key?("run_instances") ? data["run_instances"] : data
end