diff options
author | bptato <nincsnevem662@gmail.com> | 2024-06-23 13:14:37 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-06-23 13:14:37 +0200 |
commit | 8b517a111d6020f448ff747ac4a2555d2e4160dc (patch) | |
tree | e9d3d7cd082a49f633e32cd2576c18d8384bdc22 /src/config | |
parent | 9816f04f7a31c609cf83e7ea1fbf8d33cdb98c4f (diff) | |
download | chawan-8b517a111d6020f448ff747ac4a2555d2e4160dc.tar.gz |
config: fix JS command definitions
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/config.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/config.nim b/src/config/config.nim index 9ce5d89a..8783cb89 100644 --- a/src/config/config.nim +++ b/src/config/config.nim @@ -678,7 +678,7 @@ proc parseConfigValue(ctx: var ConfigParser; x: var CommandConfig; v: TomlValue; if vv.t == tvtTable: ctx.parseConfigValue(x, vv, kkk) else: # tvtString - x.init.add((kkk, vv.s)) + x.init.add((kkk.substr("cmd.".len), vv.s)) type ParseConfigResult* = object success*: bool |