{"action":"opened","issue":{"url":"https://api.github.com/repos/proxb/PoshRSJob/issues/119","repository_url":"https://api.github.com/repos/proxb/PoshRSJob","labels_url":"https://api.github.com/repos/proxb/PoshRSJob/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/proxb/PoshRSJob/issues/119/comments","events_url":"https://api.github.com/repos/proxb/PoshRSJob/issues/119/events","html_url":"https://github.com/proxb/PoshRSJob/issues/119","id":195726265,"number":119,"title":"Passing an empty batch to Wait-RSJob stops all further processing in the caller","user":{"login":"codykonior","id":12396330,"avatar_url":"https://avatars.githubusercontent.com/u/12396330?v=3","gravatar_id":"","url":"https://api.github.com/users/codykonior","html_url":"https://github.com/codykonior","followers_url":"https://api.github.com/users/codykonior/followers","following_url":"https://api.github.com/users/codykonior/following{/other_user}","gists_url":"https://api.github.com/users/codykonior/gists{/gist_id}","starred_url":"https://api.github.com/users/codykonior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codykonior/subscriptions","organizations_url":"https://api.github.com/users/codykonior/orgs","repos_url":"https://api.github.com/users/codykonior/repos","events_url":"https://api.github.com/users/codykonior/events{/privacy}","received_events_url":"https://api.github.com/users/codykonior/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-15T06:21:55Z","updated_at":"2016-12-15T06:21:55Z","closed_at":null,"body":"This is a bug. Reproduce with an unused batch number such as:\r\n\r\n```\r\nGet-RSJob -Batch \"123\" | Wait-RSJob; \"Hi\";\r\n```\r\n\r\nDoes not show Hi. All processing has stopped at this point. It's caused by Line 119 in Wait-RSJob.ps1\r\n\r\n```\r\n        If ($List.count -eq 0) {\r\n            BREAK\r\n        }  \r\n```\r\n\r\nIt seems that break here has pretty bad (for me) unintended consequences.\r\n"}}
{"actor":{"display_login":"codykonior"}}