diff --git a/lib/copy-sync/copy-file-sync.js b/lib/copy-sync/copy-file-sync.js index f0b08558..9cac8929 100644 --- a/lib/copy-sync/copy-file-sync.js +++ b/lib/copy-sync/copy-file-sync.js @@ -9,7 +9,6 @@ function copyFileSync (srcFile, destFile, options) { if (fs.existsSync(destFile)) { if (clobber) { - fs.chmodSync(destFile, parseInt('777', 8)) fs.unlinkSync(destFile) } else { var err = new Error('EEXIST: ' + destFile + ' already exists.')