src/main/scala/s3/website/model/Config.scala in s3_website-2.1.14 vs src/main/scala/s3/website/model/Config.scala in s3_website-2.1.15
- old
+ new
@@ -156,10 +156,9 @@
def erbEval(erbString: String, yamlConfigPath: String): Try[String] = Try {
val erbStringWithoutComments = erbString.replaceAll("^\\s*#.*", "")
rubyRuntime.evalScriptlet(
s"""
- |# encoding: utf-8
|require 'erb'
|
|str = <<-ERBSTR
|$erbStringWithoutComments
|ERBSTR
\ No newline at end of file