plugins/dap: minor refactoring

This commit is contained in:
Gaetan Lepage 2024-01-09 13:43:16 +01:00 committed by Gaétan Lepage
parent 6645fea915
commit b4ddb32288
2 changed files with 1 additions and 1 deletions

View file

@ -122,7 +122,7 @@ in rec {
processAdapters = type: adapters:
with builtins;
mapAttrs (_: adapter:
if typeOf adapter == "string"
if isString adapter
then helpers.mkRaw adapter
else
filterAttrs (n: _: n != "enrichConfig") (