From 354678e4ee93ecedb748315bb21a5a261e1d715e Mon Sep 17 00:00:00 2001 From: Ryan McGrath Date: Fri, 17 Jan 2014 15:48:47 +0800 Subject: [PATCH 1/2] Version bump for Windows issue fix --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9b1c314..5e370ef 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "wrench", "description": "Recursive filesystem (and other) operations that Node *should* have.", - "version": "1.5.4", + "version": "1.5.5", "author": "Ryan McGrath ", "repository": { -- 2.39.5 From fd7461dc446af9e34c592ab51168b529b04a2527 Mon Sep 17 00:00:00 2001 From: yeputons Date: Fri, 17 Jan 2014 14:40:30 +0400 Subject: [PATCH 2/2] tests/rmdirSyncRecursive: fixed files access rights from 777 to 444 to actually check something --- tests/rmdirSyncRecursive.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/rmdirSyncRecursive.js b/tests/rmdirSyncRecursive.js index f6b9442..3415e84 100644 --- a/tests/rmdirSyncRecursive.js +++ b/tests/rmdirSyncRecursive.js @@ -17,9 +17,9 @@ module.exports = testCase({ fs.writeFileSync(f2Path, 'foo bar baz'); fs.writeFileSync(f3Path, 'foo bar baz'); - fs.chmodSync(f1Path, '777'); - fs.chmodSync(f2Path, '777'); - fs.chmodSync(f3Path, '777'); + fs.chmodSync(f1Path, '444'); + fs.chmodSync(f2Path, '444'); + fs.chmodSync(f3Path, '444'); test.equals(fs.existsSync(dir), true, 'Dir should exist - mkdirSyncRecursive not working?'); test.equals(fs.existsSync(f1Path), true, 'File should exist'); @@ -51,9 +51,9 @@ module.exports = testCase({ fs.writeFileSync(f2Path, 'foo bar baz'); fs.writeFileSync(f3Path, 'foo bar baz'); - fs.chmodSync(f1Path, '777'); - fs.chmodSync(f2Path, '777'); - fs.chmodSync(f3Path, '777'); + fs.chmodSync(f1Path, '444'); + fs.chmodSync(f2Path, '444'); + fs.chmodSync(f3Path, '444'); test.equals(fs.existsSync(dir), true, 'Dir should exist - mkdirSyncRecursive not working?'); test.equals(fs.existsSync(f1Path), true, 'File should exist'); -- 2.39.5