Merge branch 'bugfix-1157' of https://github.com/thejh/coffee-script into stable

This commit is contained in:
Jeremy Ashkenas
2011-04-09 16:11:21 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@
fs.readFile(source, function(err, code) {
if (opts.join) {
contents[sources.indexOf(source)] = code.toString();
if (helpers.compact(contents).length === sources.length) {
if (helpers.compact(contents).length > 0) {
return compileJoin();
}
} else {