Skip to content

Commit

Permalink
Merge pull request eclipse-archived#2695 from makandre/preserveTimest…
Browse files Browse the repository at this point in the history
…amps

master: preserveTimestamps
  • Loading branch information
hhellyer committed Apr 16, 2020
2 parents 9ff3c22 + 94d91cc commit 8304cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pfe/portal/modules/utils/sharedFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function updateObject(objectToUpdate, fieldsToAddToObject) {

async function copyProject(fromProjectPath, toProjectPath, mode) {
log.debug(`copyProject fromPath: ${fromProjectPath}, toPath: ${toProjectPath}`);
await fs.copy(fromProjectPath, toProjectPath);
await fs.copy(fromProjectPath, toProjectPath, { preserveTimestamps: true });
if (mode) {
await fs.chmod(toProjectPath, mode);
}
Expand Down

0 comments on commit 8304cf4

Please sign in to comment.