@akryum/cpx
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -392,5 +392,7 @@ /** | ||
const sourceContent = fs.readFileSync(sourcePath) | ||
const outputContent = fs.readFileSync(outputPath) | ||
if (Buffer.compare(sourceContent, outputContent) === 0) { | ||
return | ||
if (fs.existsSync(outputPath)) { | ||
const outputContent = fs.readFileSync(outputPath) | ||
if (Buffer.compare(sourceContent, outputContent) === 0) { | ||
return | ||
} | ||
} | ||
@@ -397,0 +399,0 @@ |
{ | ||
"name": "@akryum/cpx", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Copy file globs, watching for changes.", | ||
@@ -5,0 +5,0 @@ "engines": { |
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
67188
1555