From 01112e9bd39a40dd2c2965883001984e94703210 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Tue, 19 Oct 2021 21:37:36 -0400 Subject: [PATCH] GitInput: deal with undefined deepClone --- src/lib/Hydra/Plugin/GitInput.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Plugin/GitInput.pm b/src/lib/Hydra/Plugin/GitInput.pm index cd8d23e2..39a5cf83 100644 --- a/src/lib/Hydra/Plugin/GitInput.pm +++ b/src/lib/Hydra/Plugin/GitInput.pm @@ -34,7 +34,7 @@ sub _parseValue { my $start_options = 3; # if deepClone has "=" then is considered an option # and not the enabling of deepClone - if (index($deepClone, "=") != -1) { + if (defined($deepClone) && index($deepClone, "=") != -1) { undef $deepClone; $start_options = 2; }