Fixes infinite loop. Ref @zielmicha/reactor.nim#1.
This commit is contained in:
parent
80a418e680
commit
ac1714ffef
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ proc raiseNewValidationError(msg: string, warnInstalled: bool) =
|
|||
# TODO: We warn everywhere for now. Raise the error in the next version.
|
||||
echo("WARNING: ", msg, ". Will be an error in next version!")
|
||||
else:
|
||||
raiseNewValidationError(msg, warnInstalled)
|
||||
raise newValidationError(msg, warnInstalled)
|
||||
|
||||
proc validatePackageName*(name: string) =
|
||||
## Raises an error if specified package name contains invalid characters.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue