Reorganize validation code

Rename IssueManager to coreValidator
Rename disconnected highway to disconnected way
Rename highway almost junction to almost junction
Rename mapcss checks to maprules
Rename deprecated tags to deprecated tag
This commit is contained in:
Quincy Morgan
2019-02-01 11:20:51 -05:00
parent e60dafa540
commit 46f3cea33a
25 changed files with 312 additions and 301 deletions

View File

@@ -334,7 +334,7 @@ export function uiCommit(context) {
function getUploadBlockerMessage() {
var errorCount = context.issueManager().getErrors().length;
var errorCount = context.validator().getErrors().length;
if (errorCount > 0) {
return t('commit.outstanding_errors_message', { count: errorCount });