Only enable --styleCheck:usages on Nim versions that support it
This commit is contained in:
parent
0d7ce8efde
commit
ffe0faa3bb
|
@ -1,5 +1,6 @@
|
|||
# Style Check
|
||||
--styleCheck:usages
|
||||
if (NimMajor, NimMinor, NimPatch) >= (1, 6, 6):
|
||||
--styleCheck:usages
|
||||
if (NimMajor, NimMinor) < (1, 6):
|
||||
--styleCheck:hint
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue