Skip to content

feat(cp): support update flag when recursing #889

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Nov 13, 2018
Prev Previous commit
Removed trailing spaces
  • Loading branch information
joshi-sh committed Oct 28, 2018
commit f5907472bdb9e07058777634f13170f70f31e56b
2 changes: 0 additions & 2 deletions test/cp.js
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,6 @@ test('-Ru respects the -u flag recursively (don\'t update newer file)', t => {
shell.ShellString('Source File Contents\n').to(sourceFile);
shell.ShellString('Destination File Contents\n').to(destFile);
// End setup

// Get the old mtime for dest
const oldTime = fs.statSync(destFile).mtimeMs;
// Set the source file to be older than the destination file
Expand All @@ -486,7 +485,6 @@ test('-Ru respects the -u flag recursively (update older file)', t => {
shell.ShellString('Source File Contents\n').to(sourceFile);
shell.ShellString('Destination File Contents\n').to(destFile);
// End setup

// Get the old mtime for dest
const oldTime = fs.statSync(destFile).mtimeMs;
// Set the destination file to be older than the source file
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy