add -d:nimStrictMode in CI to keep code from regressing; fixes ConvFromXtoItselfNotNeeded, UnusedImport notes (#16764)
This commit is contained in:
parent
35e14998ec
commit
31bb67a309
20 changed files with 43 additions and 23 deletions
|
|
@ -74,7 +74,7 @@ when defined(js):
|
|||
system.`+`(a, b)
|
||||
{.pop.}
|
||||
|
||||
elif defined(posix):
|
||||
elif defined(posix) and not defined(osx):
|
||||
import posix
|
||||
|
||||
elif defined(windows):
|
||||
|
|
|
|||
|
|
@ -4,7 +4,9 @@ this can eventually be moved to std/os and `walkDirRec` can be implemented in te
|
|||
to avoid duplication
|
||||
]##
|
||||
|
||||
import std/[os,strutils]
|
||||
import std/[os]
|
||||
when defined(windows):
|
||||
from strutils import replace
|
||||
|
||||
type
|
||||
PathEntry* = object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue