Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
Fixed #76
  • Loading branch information
proxb committed Jun 26, 2016
1 parent 2e42131 commit 49887ac
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions PoshRSJob/PoshRSJob.psd1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

#
# PoshRSJob
# Version 1.5.7.6
# Version 1.5.7.7
#
# Boe Prox (c) 2014
# http://learn-powershell.net
Expand All @@ -14,7 +14,7 @@
ModuleToProcess = 'PoshRSJob.psm1'

# Version number of this module.
ModuleVersion = '1.5.7.6'
ModuleVersion = '1.5.7.7'

# ID used to uniquely identify this module
GUID = '9b17fb0f-e939-4a5c-b194-3f2247452972'
Expand Down
2 changes: 1 addition & 1 deletion PoshRSJob/PoshRSJob.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ $PoshRS_jobCleanup.PowerShell = [PowerShell]::Create().AddScript({
$job.InnerJob.dispose()
$job.Completed = $True
#Return type from Invoke() is a generic collection; need to verify the first index is not NULL
If (($Data.Count -gt 0) -AND (-NOT ($Null -eq $Data[0]))) {
If (($Data.Count -gt 0) -AND (-NOT ($Data.Count -eq 1 -AND $Null -eq $Data[0]))) {
$job.output = $Data
$job.HasMoreData = $True
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PoshRSJob 1.5.7.6
PoshRSJob 1.5.7.7
===================

[![Build status](https://ci.appveyor.com/api/projects/status/svrd4ho4otugki24?svg=true)](https://ci.appveyor.com/project/proxb/poshrsjob) [![Join the chat at https://gitter.im/proxb/PoshRSJob](https://badges.gitter.im/proxb/PoshRSJob.svg)](https://gitter.im/proxb/PoshRSJob?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Expand Down
3 changes: 2 additions & 1 deletion ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---------
|1.5.7.5|
|1.5.7.7|
---------
* Fixed Issue #69 (Module produces error if imported more than once (PS v2 only))
* Fixed Issue #64 (HadErrors in PoshRS.PowerShell.RSJob throws errors in PowerShell V2)
Expand All @@ -9,3 +9,4 @@
* Fixed Issue #66 (Parameters don't work with PowerShell V2)
* Fixed Issue #65 (Bug with v2 variable substitution - single-quoted strings get $var references replaced)
* Fixed Issue #68 (ApartmentState Does Not Exist in Nano)
* Fixed Issue #76 (Jobs don't have output when using ADSI WinNT provider (Receive-RSJob))

0 comments on commit 49887ac

Please sign in to comment.