Skip to content

Commit fcbaf51

Browse files
committed
1 parent 3064e0d commit fcbaf51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tools/node-modules/node-modules-dest-copy.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class TnsModulesCopy {
4242

4343
const isScoped = dependency.name.indexOf("@") === 0;
4444
const destinationPath = isScoped ? path.join(this.outputRoot, dependency.name.substring(0, dependency.name.indexOf("/"))) : this.outputRoot;
45-
shelljs.cp("-RfL", dependency.directory, destinationPath);
45+
shelljs.cp("-RuL", dependency.directory, destinationPath);
4646

4747
// remove platform-specific files (processed separately by plugin services)
4848
shelljs.rm("-rf", path.join(targetPackageDir, "platforms"));

0 commit comments

Comments
 (0)