Skip to content

Commit

Permalink
Merge pull request #17 from daeq/patch-1
Browse files Browse the repository at this point in the history
fixed ignoring styles.css without text.ejs
  • Loading branch information
niftylettuce committed Mar 4, 2013
2 parents 2a4ddb2 + 8e637f3 commit 277995d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/main.js
Expand Up @@ -200,6 +200,7 @@ var EmailTemplate = function(templateDirectory, defaults, done) {
fs.readFile(that.stylesheet, 'utf8', function(err, data) {
if (err) return callback(err);
if (data === '') return callback(that.stylesheet + ' was empty');
that.stylesheet = data;
batchCheck();
});
} else {
Expand Down

0 comments on commit 277995d

Please sign in to comment.