Skip to content

Commit

Permalink
Merge pull request #301 from jprichardson/copySync-chmod
Browse files Browse the repository at this point in the history
Remove chmod call from copySync
  • Loading branch information
jprichardson authored Oct 28, 2016
2 parents 23b2096 + ac6f688 commit f31b88e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/copy-sync/copy-file-sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.')
Expand Down

0 comments on commit f31b88e

Please sign in to comment.