aboutsummaryrefslogtreecommitdiff
path: root/src/config.nim
diff options
context:
space:
mode:
authorkitsunyan2019-12-20 04:52:44 +0000
committerkitsunyan2019-12-20 04:52:44 +0000
commitcb433c355d168a0a0c0de2538b372f1fab18b868 (patch)
tree9fe29907e0b48ebb09bf0459ab0147fb84133d1d /src/config.nim
parent90d4c4be3bc15b2f594a0046c07b6f8654659ad5 (diff)
Fix some deprecations
Diffstat (limited to 'src/config.nim')
-rw-r--r--src/config.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.nim b/src/config.nim
index d9caf5e..e8be1fc 100644
--- a/src/config.nim
+++ b/src/config.nim
@@ -98,7 +98,7 @@ proc readConfigFile*(configFile: string):
(table, wasError)
proc ignored*(config: Config, name: string, groups: openArray[string]): bool =
- name in config.common.ignorePkgs or (config.common.ignoreGroups * groups.toSet).len > 0
+ name in config.common.ignorePkgs or (config.common.ignoreGroups * groups.toHashSet).len > 0
proc get*(colorMode: ColorMode): bool =
case colorMode: