From e6d0dc01e9fc9691223e8c3dfa493ce7d8afbf6e Mon Sep 17 00:00:00 2001 From: Joel Bennett Date: Mon, 24 Jul 2017 22:59:28 -0400 Subject: [PATCH] Remove unused variables --- Functions/Gherkin.ps1 | 2 -- 1 file changed, 2 deletions(-) diff --git a/Functions/Gherkin.ps1 b/Functions/Gherkin.ps1 index 53e43678e..b8d4efb7f 100644 --- a/Functions/Gherkin.ps1 +++ b/Functions/Gherkin.ps1 @@ -1,7 +1,6 @@ # Work around bug in PowerShell 2 type loading... Microsoft.PowerShell.Core\Import-Module -Name "${Script:PesterRoot}\lib\Gherkin.dll" -$StepPrefix = "Gherkin-Step " $GherkinSteps = @{} $GherkinHooks = @{ BeforeEachFeature = @() @@ -336,7 +335,6 @@ function Import-GherkinFeature { $Steps = foreach($Example in $ExampleSet.TableBody) { foreach ($Step in $Scenario.Steps) { [string]$StepText = $Step.Text - $StepArgument = $Step.Argument if($StepText -match $NamesPattern) { for($n = 0; $n -lt ${Column Names}.Length; $n++) { $Name = ${Column Names}[$n]