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

This commit is contained in:
Farrin Reid 2012-07-07 05:34:05 -08:00
parent d1ffccba60
commit a0749b36ac
2 changed files with 4 additions and 4 deletions

View file

@ -23,7 +23,7 @@ module.exports = testCase({
test_readdirSyncRecursive: function(test) {
var dir = path.join(__dirname, 'readdir');
test.ok(path.existsSync(dir), 'Folders should exist');
test.ok(fs.existsSync(dir), 'Folders should exist');
var files = wrench.readdirSyncRecursive(dir);
@ -33,7 +33,7 @@ module.exports = testCase({
test_readdirRecursive: function(test) {
var dir = path.join(__dirname, 'readdir');
test.ok(path.existsSync(dir), 'Folders should exist');
test.ok(fs.existsSync(dir), 'Folders should exist');
var allFiles = [];