Make ValidationError for inconsistent nimble project names a warning.

This commit is contained in:
Dominik Picheta 2015-12-24 20:20:19 +00:00
commit e5573f0096

View file

@ -102,7 +102,7 @@ proc validatePackageInfo(pkgInfo: PackageInfo, path: string) =
if pkgInfo.name.normalize != path.splitFile.name.normalize:
raise newValidationError(
"The .nimble file name must match name specified inside " & path, false)
"The .nimble file name must match name specified inside " & path, true)
if pkgInfo.version == "":
raise newValidationError("Incorrect .nimble file: " & path &