aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2020-06-16 17:42:31 -0500
committerGanesh Viswanathan <dev@genotrance.com>2020-06-16 17:42:31 -0500
commitfa02a6e0bc955042ac867c5a3a462a00d9cfe092 (patch)
treed0601dd1eda68c717651b615076478f14ff04ee1
parentd875252238ceb6a8134b2c9429f8a6c383aff48a (diff)
downloadnimterop-issue227.tar.gz
nimterop-issue227.zip
Fix #227 - paramCount/Str revertissue227
-rw-r--r--nimterop/docs.nim5
1 files changed, 1 insertions, 4 deletions
diff --git a/nimterop/docs.nim b/nimterop/docs.nim
index 6c2bbfd..5fe87a1 100644
--- a/nimterop/docs.nim
+++ b/nimterop/docs.nim
@@ -2,11 +2,8 @@ import macros, strformat
from os import parentDir, getCurrentCompilerExe, DirSep
-when defined(nimdoc) or (NimMajor, NimMinor) >= (1, 3):
- from os import paramCount, paramStr
-
when defined(nimdoc):
- from os import getCurrentDir
+ from os import getCurrentDir, paramCount, paramStr
proc getNimRootDir(): string =
#[