Skip to content
Browse files

[fix] path.existsSync was moved to fs.existsSync

  • Loading branch information...
1 parent 2e54f63 commit c7aaa3bc8736038e8bd65ac1fbf7c7b2406fd0bd @jfhbrook jfhbrook committed Jul 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/logtofile.js
View
2 lib/logtofile.js
@@ -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 c7aaa3b

Please sign in to comment.
Something went wrong with that request. Please try again.