builder-util
Advanced tools
Comparing version 4.2.3 to 4.2.4
@@ -320,10 +320,6 @@ "use strict"; | ||
function copyDirUsingHardLinks(source, destination) { | ||
const promise = (0, (_fsExtraP || _load_fsExtraP()).ensureDir)(destination); | ||
if (process.platform !== "darwin") { | ||
const args = ["-d", "--recursive", "--preserve=mode"]; | ||
args.push("--link"); | ||
args.push(source + "/", destination + "/"); | ||
return (0, (_fsExtraP || _load_fsExtraP()).ensureDir)(_path.dirname(destination)).then(() => (0, (_util || _load_util()).exec)("cp", args)); | ||
return promise.then(() => (0, (_util || _load_util()).exec)("cp", ["-d", "--recursive", "--preserve=mode", "--link", "-T" /* to merge */, source + "/", destination + "/"])); | ||
} | ||
// pax requires created dir | ||
const promise = (0, (_fsExtraP || _load_fsExtraP()).ensureDir)(destination); | ||
return promise.then(() => (0, (_util || _load_util()).exec)("pax", ["-rwl", "-p", "amp" /* Do not preserve file access times, Do not preserve file modification times, Preserve the file mode bits */, ".", destination], { | ||
@@ -330,0 +326,0 @@ cwd: source |
{ | ||
"name": "builder-util", | ||
"version": "4.2.3", | ||
"version": "4.2.4", | ||
"main": "out/util.js", | ||
@@ -5,0 +5,0 @@ "author": "Vladimir Krivosheev", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
205489
2526