Skip to content

Commit 0415b07

Browse files
clintmodBYK
authored andcommitted
Fix: Suppress "revealed multiple traversal of the same folder" warnings (#4549)
**Summary** Refs #3751. Changes `reporter.warn` to `reporter.verbose` for the message "The case-insensitive file ${dest} shouldn't be copied twice in one bulk copy". **Test plan** Manual verification.
1 parent 19b0997 commit 0415b07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/fs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ async function buildActionsForCopy(
222222
// TODO https://github.com/yarnpkg/yarn/issues/3751
223223
// related to bundled dependencies handling
224224
if (files.has(dest.toLowerCase())) {
225-
reporter.warn(`The case-insensitive file ${dest} shouldn't be copied twice in one bulk copy`);
225+
reporter.verbose(`The case-insensitive file ${dest} shouldn't be copied twice in one bulk copy`);
226226
} else {
227227
files.add(dest.toLowerCase());
228228
}

0 commit comments

Comments
 (0)