changed excludeHidden to excludeHiddenUnix b/c the testing for hidden file is only applicable for unix
This commit is contained in:
parent
8097eb52bd
commit
658589c35e
2 changed files with 3 additions and 3 deletions
|
|
@ -40,7 +40,7 @@ module.exports = testCase({
|
|||
test.ok(path.existsSync(dir), 'Folders should exist');
|
||||
|
||||
wrench.mkdirSyncRecursive(testdir, 0777);
|
||||
wrench.copyDirSyncRecursive(dir, testdir, { excludeHidden: false });
|
||||
wrench.copyDirSyncRecursive(dir, testdir, { excludeHiddenUnix: false });
|
||||
|
||||
var files = wrench.readdirSyncRecursive(testdir);
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ module.exports = testCase({
|
|||
test.ok(path.existsSync(dir), 'Folders should exist');
|
||||
|
||||
wrench.mkdirSyncRecursive(testdir, 0777);
|
||||
wrench.copyDirSyncRecursive(dir, testdir, { excludeHidden: true });
|
||||
wrench.copyDirSyncRecursive(dir, testdir, { excludeHiddenUnix: true });
|
||||
|
||||
var files = wrench.readdirSyncRecursive(testdir);
|
||||
|
||||
|
|
|
|||
Reference in a new issue