Signal-Desktop/yarn-allow-extraneous.patch

17 lines
501 B
Diff

--- src/package-linker.js
+++ src/package-linker.js
@@ -472,12 +472,6 @@ export default class PackageLinker {
},
});
- // remove all extraneous files that weren't in the tree
- for (const loc of possibleExtraneous) {
- this.reporter.verbose(this.reporter.lang('verboseFileRemoveExtraneous', loc));
- await fs.unlink(loc);
- }
-
// remove any empty scoped directories
for (const scopedPath of scopedPaths) {
const files = await fs.readdir(scopedPath);