Skip to content

Commit

Permalink
Compiled files should end in a newline
Browse files Browse the repository at this point in the history
  • Loading branch information
sstephenson committed May 25, 2011
1 parent 2ed5e3e commit 76efd97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/command.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/command.coffee
Expand Up @@ -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

Expand Down

0 comments on commit 76efd97

Please sign in to comment.