Permalink
Browse files

Merge pull request #2 from node-migrator-bot/clean

Hi! I fixed some code for you!
  • Loading branch information...
2 parents c191140 + 01c3d7e commit f70af262bdc38a38fa8e9c42e83a7b1be4be0ec8 @dresende committed Feb 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sendmail.js
View
@@ -97,7 +97,7 @@ function sendEmail(Client, opts, host, to) {
}
if (opts.contentPath) {
- path.exists(opts.contentPath, function (exists) {
+ fs.exists(opts.contentPath, function (exists) {
if (!exists) {
if (opts.failure) opts.failure({ "code": 3, "message": "Content file " + opts.contentPath + " does not exist" });
return;

0 comments on commit f70af26

Please sign in to comment.