Remove RSRSep opt from general section

- allows RSRParser to be split gracefully from config (was depending on
  RSRSep, which was retrieved from the global config variable)
- default separator (;) was the only one used except for splitting
  inline attribute values (where ANDSep is used)
This commit is contained in:
ionutboangiu
2025-02-14 14:44:48 +02:00
committed by Dan Christian Bogos
parent c60712f454
commit 36a7d174ab
152 changed files with 841 additions and 878 deletions

View File

@@ -59,7 +59,7 @@ func (aL *actSetBalance) execute(ctx *context.Context, data utils.MapStorage, tr
}
for i, actD := range aL.cfg().Diktats {
var rsr config.RSRParsers
if rsr, err = actD.RSRValues(aL.config.GeneralCfg().RSRSep); err != nil {
if rsr, err = actD.RSRValues(); err != nil {
return
}
var val string