@yeoman/conflicter
Advanced tools
Comparing version 2.3.1 to 2.3.2
@@ -182,3 +182,3 @@ import fs from 'node:fs'; | ||
changes = diffLines(actual.toString(), contents.toString(), this.diffOptions); | ||
modified = (changes.length > 1 || changes[0].added || changes[0].removed) ?? false; | ||
modified = (changes && changes.length > 0 && (changes.length > 1 || changes[0].added || changes[0].removed)) ?? false; | ||
} | ||
@@ -185,0 +185,0 @@ if (modified) { |
{ | ||
"name": "@yeoman/conflicter", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"private": false, | ||
@@ -51,3 +51,3 @@ "description": "Conflict resolution for yeoman's generator/environment stack", | ||
"@types/dateformat": "^5.0.2", | ||
"@types/diff": "^5.2.3", | ||
"@types/diff": "^6.0.0", | ||
"@types/node": "^18.19.0", | ||
@@ -75,3 +75,3 @@ "@types/textextensions": "^2.4.2", | ||
}, | ||
"gitHead": "55a9a15364c787f0a14b77e6f3d294f3fa2822e0" | ||
"gitHead": "3b77ad9325d6ab8cb4bcb2d42580ed7988b552bb" | ||
} |
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
49311