From 5e290b96fd75bbc0f983d095000896f8f0fd7dd0 Mon Sep 17 00:00:00 2001 From: Steven McDowall Date: Wed, 9 Sep 2015 10:34:31 -0400 Subject: [PATCH] Remove unneeded (and actually not even invokved) chmodSync after the file is written --- lib/update-package.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/update-package.js b/lib/update-package.js index feff35b..ed49bda 100644 --- a/lib/update-package.js +++ b/lib/update-package.js @@ -33,5 +33,4 @@ module.exports = function (options, done) { // Fs.chmodSync(packagePath, '0644') ; Fs.writeFile(packagePath, JSON.stringify(packageContents, null, 2), done); - Fs.chmodSync(packagePath, '0444') ; };