Make ValidationError for inconsistent nimble project names a warning.
This commit is contained in:
parent
0a1b583392
commit
e5573f0096
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ proc validatePackageInfo(pkgInfo: PackageInfo, path: string) =
|
||||||
|
|
||||||
if pkgInfo.name.normalize != path.splitFile.name.normalize:
|
if pkgInfo.name.normalize != path.splitFile.name.normalize:
|
||||||
raise newValidationError(
|
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 == "":
|
if pkgInfo.version == "":
|
||||||
raise newValidationError("Incorrect .nimble file: " & path &
|
raise newValidationError("Incorrect .nimble file: " & path &
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue