From 6aa0e288a8602cf5f7792fe6a711198f28d10218 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 17 Dec 2024 14:39:18 -0500 Subject: [PATCH] fix tests --- bbot/scanner/preset/args.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bbot/scanner/preset/args.py b/bbot/scanner/preset/args.py index 912c76628..13723ea01 100644 --- a/bbot/scanner/preset/args.py +++ b/bbot/scanner/preset/args.py @@ -144,7 +144,8 @@ def preset_from_args(self): deps_config["behavior"] = "disable" elif self.parsed.ignore_failed_deps: deps_config["behavior"] = "ignore_failed" - args_preset.core.merge_custom({"deps": deps_config}) + if deps_config: + args_preset.core.merge_custom({"deps": deps_config}) # other scan options if self.parsed.name is not None: