lib/awestruct/cli/invoker.rb in awestruct-0.6.1 vs lib/awestruct/cli/invoker.rb in awestruct-0.6.2
- old
+ new
@@ -95,10 +95,10 @@
if ( !File.exist?( site_yaml_file ) )
abort( "No config file at #{site_yaml_file}" )
end
- site_yaml = YAML.load( ERB.new(File.read( site_yaml_file ), nil, '<>').result )
+ site_yaml = YAML.load( ERB.new(File.read( site_yaml_file ), trim_mode: '<>').result )
if ( !site_yaml )
abort( "Failed to parse #{site_yaml_file}" )
end