Comparing version 0.0.76 to 0.0.77
@@ -173,3 +173,3 @@ "use strict"; | ||
const [exists, known] = opExists(op, d); | ||
if (known && exists) { | ||
if (known && exists && !isBufferPath(d)) { | ||
throw new Error(`copy to: file ${d} file already exists`); | ||
@@ -328,3 +328,3 @@ } | ||
[exists, known] = opExists(op, d); | ||
if (known && exists) { | ||
if (known && exists && !isBufferPath(d)) { | ||
throw new Error(`copy to: file ${d} file already exists`); | ||
@@ -715,3 +715,3 @@ } | ||
} | ||
else if (destExists && destKnown) { | ||
else if (destExists && destKnown && !isBufferPath(d)) { | ||
throw new Error(`copy: file ${d} already exists - x: ${toString(x)} y: ${toString(y)}`); | ||
@@ -718,0 +718,0 @@ } |
{ | ||
"name": "libzap", | ||
"version": "0.0.76", | ||
"version": "0.0.77", | ||
"description": "JavaScript library for Zap", | ||
@@ -5,0 +5,0 @@ "license": "none", |
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
643594