Skip to content

Commit 4e64913

Browse files
committed
Bugfix
rollback #66
1 parent 2d756ea commit 4e64913

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

PoshRSJob/PoshRSJob.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
#
33
# PoshRSJob
4-
# Version 1.5.6.0
4+
# Version 1.5.6.1
55
#
66
# Boe Prox (c) 2014
77
# http://learn-powershell.net
@@ -14,7 +14,7 @@
1414
ModuleToProcess = 'PoshRSJob.psm1'
1515

1616
# Version number of this module.
17-
ModuleVersion = '1.5.6.0'
17+
ModuleVersion = '1.5.6.1'
1818

1919
# ID used to uniquely identify this module
2020
GUID = '9b17fb0f-e939-4a5c-b194-3f2247452972'

PoshRSJob/Public/Start-RSJob.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,13 +265,13 @@ Function Start-RSJob {
265265
End {
266266
$SBParamCount = @(GetParamVariable -ScriptBlock $ScriptBlock).Count
267267
If ($PSBoundParameters.ContainsKey('InputObject')) {
268-
If ( ($ArgumentList) -and $ArgumentList.count -gt 0) {
268+
If ($ArgumentList.Count -gt 0) {
269269
$SBParamCount++
270270
} Else {
271271
$SBParamCount--
272272
}
273273
}
274-
If ( ($ArgumentList) -and $ArgumentList.count -ne $SBParamCount -AND $IsPipeline) {
274+
If ($ArgumentList.Count -ne $SBParamCount -AND $IsPipeline) {
275275
Write-Verbose 'Will use $_ in Param() Block'
276276
$Script:Add_ = $True
277277
} Else {

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PoshRSJob (1.5.6.0)
1+
PoshRSJob (1.5.6.1)
22
===================
33

44
[![Build status](https://ci.appveyor.com/api/projects/status/svrd4ho4otugki24?svg=true)](https://ci.appveyor.com/project/proxb/poshrsjob)

ReleaseNotes.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
---------
2-
|1.5.6.0|
2+
|1.5.6.1|
33
---------
44
* Fixed Issue #64 (HadErrors in PoshRS.PowerShell.RSJob throws errors in PowerShell V2)
5-
* Fixed Issue #66 (Parameters not working in PowerShell V2)
6-
7-
---------
8-
|1.5.6.0|
9-
---------
105
* Fixed Issue #67 (Converted Add-Type code for C# classes to be created via Reflection for Nano server support)
116
* Fixed Issue #61 (Receive-RSJob not allowing -Job parameter input)
127
* Fixed Issue #63 (Replaced Global variables with Script scope)

0 commit comments

Comments
 (0)