perform some statix linting and fixes

This commit is contained in:
Tanish2002 2023-05-22 15:45:47 +05:30 committed by Gaétan Lepage
parent eee375e97e
commit efdcbe225f
57 changed files with 196 additions and 221 deletions

View file

@ -118,14 +118,14 @@ in
lazy_loading = cfg.lazyLoading;
logger = {
plugin = cfg.logger.plugin;
inherit (cfg.logger) plugin;
use_console = cfg.logger.useConsole;
highlights = cfg.logger.highlights;
inherit (cfg.logger) highlights;
use_file = cfg.logger.useFile;
level = cfg.logger.level;
inherit (cfg.logger) level;
modes =
if (isNull cfg.logger.modes)
if (cfg.logger.modes == null)
then null
else
attrsets.mapAttrsToList
@ -133,7 +133,7 @@ in
name = mode;
inherit (modeConfig) hl;
level = let
level = modeConfig.level;
inherit (modeConfig) level;
in
if (isInt level)
then level