Rename the retained history limit diagnostic
This commit is contained in:
@@ -382,7 +382,7 @@ func inheritanceBudgetDiagnostic(path Path, location document.Location) Diagnost
|
||||
func inheritanceHistoryBudgetDiagnostic(path Path, location document.Location) Diagnostic {
|
||||
primary := publicLocation(location)
|
||||
return Diagnostic{
|
||||
Code: CodeExplainLimitExceeded, Severity: SeverityError, Path: path,
|
||||
Code: CodeHistoryLimitExceeded, Severity: SeverityError, Path: path,
|
||||
Message: "retained inheritance history exceeds the node limit", Primary: &primary,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user