Skip to content

Commit

Permalink
Don't abort copying multiple files when one matches
Browse files Browse the repository at this point in the history
Bug: 1115386
Change-Id: Ib9be093c232066a21843acc078189ce0da3bde53
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2351521
Reviewed-by: Paul Lewis <[email protected]>
Commit-Queue: Paul Lewis <[email protected]>
  • Loading branch information
clelland authored and Commit Bot committed Aug 12, 2020
1 parent 716ab01 commit 2f5d705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build/ninja/copy-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 2f5d705

Please sign in to comment.