From de7e4f54bca8ba27eb197a928029124a95c0bd55 Mon Sep 17 00:00:00 2001 From: Frederic Borries IV Date: Wed, 9 Mar 2022 14:47:24 +0000 Subject: [PATCH] Resolve #76 Not sure why PowerShell isn't doing the typecasting it loves so much. --- Tool/Modules/Support.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tool/Modules/Support.psm1 b/Tool/Modules/Support.psm1 index fa9064d..19efbc4 100644 --- a/Tool/Modules/Support.psm1 +++ b/Tool/Modules/Support.psm1 @@ -190,9 +190,9 @@ function Read-CSV { "ZZ" }) } - $result = $(Read-Intent $CSV.$Column "What is is the $Column?") + $result = $(Read-Intent $CSV.$Column "What is the $($Column.ToString())?") return $(if ( $result -eq "Other") { - $(Read-Host -Prompt "What is the $Column") + $(Read-Host -Prompt "What is the $($Column)") } else { $result })