class Sprockets::SafetyColons
def evaluate(context, locals, &block)
def evaluate(context, locals, &block) # If the file is blank or ends in a semicolon, leave it as is if data =~ /\A\s*\Z/m || data =~ /;\s*\Z/m data else # Otherwise, append a semicolon and newline "#{data};\n" end end