From 86323b2bbacfa075ddc6a488322c5fa11cf32462 Mon Sep 17 00:00:00 2001 From: thomashaw Date: Mon, 14 Feb 2022 14:19:33 +0000 Subject: [PATCH] debugging file_to_leak --- modules/build/puppet/secgen_functions/templates/overshare.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/build/puppet/secgen_functions/templates/overshare.erb b/modules/build/puppet/secgen_functions/templates/overshare.erb index fe16b5582..2e1edc11b 100644 --- a/modules/build/puppet/secgen_functions/templates/overshare.erb +++ b/modules/build/puppet/secgen_functions/templates/overshare.erb @@ -1,3 +1,3 @@ -<%= puts("strings to leak is a string?: " + (@strings_to_leak.instance_of? String)) %> -<%= puts("strings to leak is an Array?: " + (@strings_to_leak.instance_of? Array)) %> +<%= puts("strings to leak is a string?: " + (@strings_to_leak.instance_of? String).to_s) %> +<%= puts("strings to leak is an Array?: " + (@strings_to_leak.instance_of? Array).to_s) %> <%= @strings_to_leak.join("\n") %> \ No newline at end of file