Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Compiled files should end in a newline

  • Loading branch information...
commit 76efd97464d176061589164fd6bb5ac840ba7505 1 parent 2ed5e3e
@sstephenson authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/command.js
  2. +1 −1  src/command.coffee
View
2  lib/command.js
@@ -174,7 +174,7 @@
return callback(err);
}
return compile(infile, name, function(err, result) {
- return fs.writeFile(outfile, result, "utf8", function(err) {
+ return fs.writeFile(outfile, result + "\n", "utf8", function(err) {
if (err) {
return callback(err);
}
View
2  src/command.coffee
@@ -121,7 +121,7 @@ compileToFile = (infile, root, outdir, callback) ->
mkdir path.dirname(outfile), (err) ->
return callback err if err
compile infile, name, (err, result) ->
- fs.writeFile outfile, result, "utf8", (err) ->
+ fs.writeFile outfile, result + "\n", "utf8", (err) ->
return callback err if err
callback null, outfile, name

0 comments on commit 76efd97

Please sign in to comment.
Something went wrong with that request. Please try again.