diff --git a/lib/update-package.js b/lib/update-package.js index 80ab65b..feff35b 100644 --- a/lib/update-package.js +++ b/lib/update-package.js @@ -31,7 +31,7 @@ module.exports = function (options, done) { // Change the file permissions so we can over-write the package. Then we'll write the package // and then change the file permissions back to read-only. // - Fs.chmodSync( packagePath, "0644" ) ; - Fs.writeFile( packagePath, JSON.stringify(packageContents, null, 2), done); - Fs.chmodSync( packagePath, "0444" ) ; + Fs.chmodSync(packagePath, '0644') ; + Fs.writeFile(packagePath, JSON.stringify(packageContents, null, 2), done); + Fs.chmodSync(packagePath, '0444') ; };