mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
[Sass] Make sure we write out newline characters to sassc files.
This commit is contained in:
parent
ee1f79286b
commit
e59cc7090c
1 changed files with 4 additions and 2 deletions
|
@ -79,8 +79,10 @@ module Sass
|
|||
return if File.exists?(compiled_filename) && !File.writable?(compiled_filename)
|
||||
FileUtils.mkdir_p(File.dirname(compiled_filename))
|
||||
File.open(compiled_filename, "w") do |f|
|
||||
f.puts(Sass::VERSION)
|
||||
f.puts(sha)
|
||||
f.write(Sass::VERSION)
|
||||
f.write("\n")
|
||||
f.write(sha)
|
||||
f.write("\n")
|
||||
f.write(Marshal.dump(root))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue