Skip to content

Commit

Permalink
Merge pull request #2 from node-migrator-bot/clean
Browse files Browse the repository at this point in the history
Hi! I fixed some code for you!
  • Loading branch information
dresende committed Feb 13, 2013
2 parents c191140 + 01c3d7e commit f70af26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sendmail.js
Expand Up @@ -97,7 +97,7 @@ function sendEmail(Client, opts, host, to) {
} }


if (opts.contentPath) { if (opts.contentPath) {
path.exists(opts.contentPath, function (exists) { fs.exists(opts.contentPath, function (exists) {
if (!exists) { if (!exists) {
if (opts.failure) opts.failure({ "code": 3, "message": "Content file " + opts.contentPath + " does not exist" }); if (opts.failure) opts.failure({ "code": 3, "message": "Content file " + opts.contentPath + " does not exist" });
return; return;
Expand Down

0 comments on commit f70af26

Please sign in to comment.