Fix docs lucene version check error message

This commit is contained in:
Ryan Ernst 2017-06-26 15:45:13 -07:00
parent 5726d1394f
commit 5de406debb
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ task verifyDocsLuceneVersion {
expectedLuceneVersion = expectedLuceneVersion.toUpperCase(Locale.ROOT) expectedLuceneVersion = expectedLuceneVersion.toUpperCase(Locale.ROOT)
} }
if (docsLuceneVersion != expectedLuceneVersion) { if (docsLuceneVersion != expectedLuceneVersion) {
throw new GradleException("Lucene version in docs [${expectedLuceneVersion}] does not match version.properties [${VersionProperties.lucene}]") throw new GradleException("Lucene version in docs [${docsLuceneVersion}] does not match version.properties [${expectedLuceneVersion}]")
} }
} }
} }