diff --git a/nimph.nimble b/nimph.nimble index d023613..64938a9 100644 --- a/nimph.nimble +++ b/nimph.nimble @@ -1,4 +1,4 @@ -version = "1.1.5" +version = "1.1.6" author = "disruptek" description = "nim package handler from the future" license = "MIT" diff --git a/src/nimph/config.nim b/src/nimph/config.nim index a59f27a..119e128 100644 --- a/src/nimph/config.nim +++ b/src/nimph/config.nim @@ -55,7 +55,8 @@ template setDefaultsForConfig(result: ConfigRef) = result.notes.incl hintPath elif not defined(debug): excludeAllNotes(result, hintConf) - excludeAllNotes(result, hintLineTooLong) + when compiles(hintLineTooLong): + excludeAllNotes(result, hintLineTooLong) proc parseConfigFile*(path: string): Option[ConfigRef] = ## use the compiler to parse a nim.cfg without changing to its directory