From 2f5d7054bb7551aed44912e799c67e19d1f6dd88 Mon Sep 17 00:00:00 2001 From: Ian Clelland Date: Wed, 12 Aug 2020 02:29:06 -0400 Subject: [PATCH] Don't abort copying multiple files when one matches Bug: 1115386 Change-Id: Ib9be093c232066a21843acc078189ce0da3bde53 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2351521 Reviewed-by: Paul Lewis Commit-Queue: Paul Lewis --- scripts/build/ninja/copy-files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/ninja/copy-files.js b/scripts/build/ninja/copy-files.js index 3270b3b4787..4b1c54c0858 100644 --- a/scripts/build/ninja/copy-files.js +++ b/scripts/build/ninja/copy-files.js @@ -17,7 +17,7 @@ for (const file of files.split(',')) { // Check contents, return early if match const destContents = fs.readFileSync(destPath); if (srcContents.equals(destContents)) { - return; + continue; } }