mac-hardlink
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -5,3 +5,2 @@ #!/usr/bin/env node | ||
const _ = require('lodash'); | ||
const p = require('path'); | ||
@@ -26,8 +25,2 @@ const shouldShowHelp = _.includes(process.argv, '-h'); | ||
function assertSourceExists() { | ||
if (!fs.existsSync(source)) { | ||
throw new Error(`${source} does not exist`); | ||
} | ||
} | ||
function ensureDestExists() { | ||
@@ -107,3 +100,6 @@ if (!fs.existsSync(dest)) { | ||
} | ||
assertSourceExists(); | ||
if (!fs.existsSync(source)) { | ||
console.log(`hardlink: "${source}" does not exists`); | ||
return; | ||
} | ||
if (!unlinkOnly) { | ||
@@ -110,0 +106,0 @@ ensureDestExists(); |
{ | ||
"name": "mac-hardlink", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"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
8080
91