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
sdolard committed Jul 8, 2012
2 parents 2e54f63 + c7aaa3b commit 4aac44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logtofile.js
Expand Up @@ -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 + '"'
Expand Down

0 comments on commit 4aac44e

Please sign in to comment.