Skip to content

Commit

Permalink
Merge pull request #34 from santisq/33-incorrect-error-message-on-pas…
Browse files Browse the repository at this point in the history
…sed-scriptblock-by-variables

Fixes #33
  • Loading branch information
santisq authored Jun 24, 2024
2 parents d947183 + e1f1957 commit 43f83ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion module/PSParallelPipeline.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
RootModule = 'bin/netstandard2.0/PSParallelPipeline.dll'

# Version number of this module.
ModuleVersion = '1.1.6'
ModuleVersion = '1.1.7'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
2 changes: 1 addition & 1 deletion src/PSParallelPipeline/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ internal static void AddVariables(
{
foreach (DictionaryEntry pair in variables)
{
cmdlet.ThrowIfUsingValueIsScriptBlock(pair.Value);
cmdlet.ThrowIfVariableIsScriptBlock(pair.Value);
initialSessionState.Variables.Add(new SessionStateVariableEntry(
name: LanguagePrimitives.ConvertTo<string>(pair.Key),
value: pair.Value,
Expand Down

0 comments on commit 43f83ee

Please sign in to comment.