Force Check Duplicates
This commit is contained in:
@@ -312,7 +312,7 @@ func classifyAssetDuplicates(report *Report, occurrences map[string][]assetOccur
|
||||
slices.Sort(paths)
|
||||
|
||||
if len(groups) == 1 {
|
||||
report.add(entries[0].Path, fmt.Sprintf("duplicate asset resource %s appears multiple times in hak group %q (%s); build will fail if duplicates land in the same generated hak", key, groups[0], strings.Join(paths, ", ")), SeverityWarning)
|
||||
report.add(entries[0].Path, fmt.Sprintf("duplicate asset resource %s appears multiple times in hak group %q (%s); build will fail if duplicates land in the same generated hak", key, groups[0], strings.Join(paths, ", ")), SeverityError)
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user