Permalink
Browse files

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

Hi! I fixed some code for you!
  • Loading branch information...
2 parents 2e54f63 + c7aaa3b commit 4aac44e554c9a8ad6f31969fad42d91e02bc308d @sdolard committed Jul 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/logtofile.js
View
@@ -142,7 +142,7 @@ var LogToFile = function (config){ // ctor
}
this.directory = path.resolve(config.directory);
// Directory sync test
- if (!path.existsSync(this.directory)) {
+ if (!fs.existsSync(this.directory)) {
this._eexception({
code: 'EDIRNOTFOUND',
message: 'Directory not found: "' + this.directory + '"'

0 comments on commit 4aac44e

Please sign in to comment.