diff options
Diffstat (limited to 'src/config/config.nim')
-rw-r--r-- | src/config/config.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config/config.nim b/src/config/config.nim index 220b3948..4ab2d49b 100644 --- a/src/config/config.nim +++ b/src/config/config.nim @@ -368,8 +368,9 @@ proc parseConfig(config: Config, dir: string, t: TomlValue) = for k, v in v: case k of "match": rule.match = v.s - of "substitute": rule.subst = v.s + of "substitute-url": rule.subst = v.s if rule.match != "": + assert rule.subst != "", "Unspecified substitution for rule " & rule.match config.omnirules.add(rule) proc parseConfig(config: Config, dir: string, stream: Stream) = |