Update lib/wrench.js #44
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ exports.copyDirSyncRecursive = function(sourceDir, newDirLocation, opts) {
|
|||
} else if(currFile.isSymbolicLink()) {
|
||||
var symlinkFull = fs.readlinkSync(sourceDir + "/" + files[i]);
|
||||
|
||||
if (!opts.inflateSymlinks) {
|
||||
if (opts !== undefined && opts.inflateSymlinks === false) {
|
||||
fs.symlinkSync(symlinkFull, newDirLocation + "/" + files[i]);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue