styleCheck: make the compiler and large parts of the stdlib compatible with --styleCheck:error
This commit is contained in:
parent
96523cdd3e
commit
c94647aeca
90 changed files with 680 additions and 652 deletions
|
|
@ -445,7 +445,7 @@ proc `$`*(u: Uri): string =
|
|||
result.add(":")
|
||||
result.add(u.password)
|
||||
result.add("@")
|
||||
if u.hostname.endswith('/'):
|
||||
if u.hostname.endsWith('/'):
|
||||
result.add(u.hostname[0..^2])
|
||||
else:
|
||||
result.add(u.hostname)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue