Skip to content

Commit

Permalink
Fix missing initial value for Data in Invoke-File (#1852)
Browse files Browse the repository at this point in the history
  • Loading branch information
fflaten authored Mar 4, 2021
1 parent 9169c01 commit 5ae134e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pester.Runtime.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -2383,7 +2383,7 @@ function Invoke-File {
$Path,
[Parameter(Mandatory = $true)]
[Management.Automation.SessionState] $SessionState,
[Collections.IDictionary] $Data
[Collections.IDictionary] $Data = @{}
)

$sb = {
Expand Down

0 comments on commit 5ae134e

Please sign in to comment.