Nimpretty Fix negative indent breaks code (#13580)

This commit is contained in:
Juan Carlos 2020-03-04 06:27:52 -03:00 • committed by GitHub
commit 0809098971
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -44,8 +44,8 @@ proc writeVersion() =
type
PrettyOptions = object
indWidth: int
maxLineLen: int
indWidth: Natural
maxLineLen: Positive
proc prettyPrint(infile, outfile: string, opt: PrettyOptions) =
var conf = newConfigRef()