mac-hardlink
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -59,3 +59,3 @@ #!/usr/bin/env node | ||
function hardlink(from, to) { | ||
exec.execSync(`hln ${from} ${to}`); | ||
exec.execSyncSilent(`hln ${from} ${to}`); | ||
} | ||
@@ -75,2 +75,3 @@ | ||
if (_.includes(rd, rs)) { //avoid infinite recursion | ||
console.log(`skipping ${f}`); | ||
return; | ||
@@ -86,3 +87,3 @@ } | ||
exec.execSyncSilent(`rm -rf ${destFullPath} || true`); | ||
console.log(`hardlinking ${srcFullPath} to ${destFullPath}`); | ||
console.log(`hardlinking ${f}`); | ||
hardlink(srcFullPath, destFullPath); | ||
@@ -89,0 +90,0 @@ }); |
{ | ||
"name": "mac-hardlink", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "Hardlinks on macOS", | ||
@@ -5,0 +5,0 @@ "author": "Daniel Zlotin <zlotindaniel@gmail.com>", |
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
8323
98