Skip to content

Commit

Permalink
updating ctime is out of scope
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Jan 29, 2016
1 parent d197537 commit 1f1790c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/dest/fileOperations/updateMetadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ function updateMetadata(fd, file, callback) {
function onFchmod(fchmodErr) {
if (!fchmodErr) {
file.stat.mode = mode;
file.stat.ctime.setTime(Date.now());
}
if (timesDiff) {
return times(fchmodErr);
Expand All @@ -65,7 +64,6 @@ function updateMetadata(fd, file, callback) {
if (!futimesErr) {
file.stat.atime = timesDiff.atime;
file.stat.mtime = timesDiff.mtime;
file.stat.ctime.setTime(Date.now());
}
callback(fchmodErr || futimesErr, fd);
}
Expand Down

0 comments on commit 1f1790c

Please sign in to comment.