From 47e765284652e2835cc03994de0d4e25d6d3c5ff Mon Sep 17 00:00:00 2001 From: Martin Bahlinger Date: Mon, 19 Apr 2021 13:45:26 +0200 Subject: Revert changing parameter types of Get-VHDLVariables function This change from commit 9c4c05cc led to "positional parameter cannot be found" error with PS 5.1 --- scripts/vendors/shared.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/vendors/shared.psm1 b/scripts/vendors/shared.psm1 index eb3c4c037..0c15ef53f 100644 --- a/scripts/vendors/shared.psm1 +++ b/scripts/vendors/shared.psm1 @@ -188,8 +188,8 @@ function Get-VHDLVariables #> [CmdletBinding()] param( - [switch]$VHDL93 = $false, - [switch]$VHDL2008 = $true + [bool]$VHDL93 = $false, + [bool]$VHDL2008 = $true ) if ($VHDL93) -- cgit v1.2.3