Only enable --styleCheck:usages on Nim versions that support it

This commit is contained in:
Mark Spanbroek 2023-07-03 11:11:49 +02:00 committed by markspanbroek
parent 0d7ce8efde
commit ffe0faa3bb
1 changed files with 2 additions and 1 deletions

View File

@ -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: