{"action":"created","issue":{"url":"https://api.github.com/repos/PowerShell/platyPS/issues/161","repository_url":"https://api.github.com/repos/PowerShell/platyPS","labels_url":"https://api.github.com/repos/PowerShell/platyPS/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/platyPS/issues/161/comments","events_url":"https://api.github.com/repos/PowerShell/platyPS/issues/161/events","html_url":"https://github.com/PowerShell/platyPS/issues/161","id":162578356,"number":161,"title":"Need Graceful Failure if executing PlatyPS commands from non-FileSystem provider","user":{"login":"jongeller","id":660502,"avatar_url":"https://avatars.githubusercontent.com/u/660502?v=3","gravatar_id":"","url":"https://api.github.com/users/jongeller","html_url":"https://github.com/jongeller","followers_url":"https://api.github.com/users/jongeller/followers","following_url":"https://api.github.com/users/jongeller/following{/other_user}","gists_url":"https://api.github.com/users/jongeller/gists{/gist_id}","starred_url":"https://api.github.com/users/jongeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jongeller/subscriptions","organizations_url":"https://api.github.com/users/jongeller/orgs","repos_url":"https://api.github.com/users/jongeller/repos","events_url":"https://api.github.com/users/jongeller/events{/privacy}","received_events_url":"https://api.github.com/users/jongeller/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PowerShell/platyPS/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"jongeller","id":660502,"avatar_url":"https://avatars.githubusercontent.com/u/660502?v=3","gravatar_id":"","url":"https://api.github.com/users/jongeller","html_url":"https://github.com/jongeller","followers_url":"https://api.github.com/users/jongeller/followers","following_url":"https://api.github.com/users/jongeller/following{/other_user}","gists_url":"https://api.github.com/users/jongeller/gists{/gist_id}","starred_url":"https://api.github.com/users/jongeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jongeller/subscriptions","organizations_url":"https://api.github.com/users/jongeller/orgs","repos_url":"https://api.github.com/users/jongeller/repos","events_url":"https://api.github.com/users/jongeller/events{/privacy}","received_events_url":"https://api.github.com/users/jongeller/received_events","type":"User","site_admin":false},"assignees":[{"login":"jongeller","id":660502,"avatar_url":"https://avatars.githubusercontent.com/u/660502?v=3","gravatar_id":"","url":"https://api.github.com/users/jongeller","html_url":"https://github.com/jongeller","followers_url":"https://api.github.com/users/jongeller/followers","following_url":"https://api.github.com/users/jongeller/following{/other_user}","gists_url":"https://api.github.com/users/jongeller/gists{/gist_id}","starred_url":"https://api.github.com/users/jongeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jongeller/subscriptions","organizations_url":"https://api.github.com/users/jongeller/orgs","repos_url":"https://api.github.com/users/jongeller/repos","events_url":"https://api.github.com/users/jongeller/events{/privacy}","received_events_url":"https://api.github.com/users/jongeller/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/PowerShell/platyPS/milestones/5","html_url":"https://github.com/PowerShell/platyPS/milestones/0.7.0","labels_url":"https://api.github.com/repos/PowerShell/platyPS/milestones/5/labels","id":1851405,"number":5,"title":"0.7.0","description":"","creator":{"login":"vors","id":816680,"avatar_url":"https://avatars.githubusercontent.com/u/816680?v=3","gravatar_id":"","url":"https://api.github.com/users/vors","html_url":"https://github.com/vors","followers_url":"https://api.github.com/users/vors/followers","following_url":"https://api.github.com/users/vors/following{/other_user}","gists_url":"https://api.github.com/users/vors/gists{/gist_id}","starred_url":"https://api.github.com/users/vors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vors/subscriptions","organizations_url":"https://api.github.com/users/vors/orgs","repos_url":"https://api.github.com/users/vors/repos","events_url":"https://api.github.com/users/vors/events{/privacy}","received_events_url":"https://api.github.com/users/vors/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":5,"state":"open","created_at":"2016-06-27T20:31:05Z","updated_at":"2016-07-20T22:29:02Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-06-28T00:36:28Z","updated_at":"2016-08-03T20:28:01Z","closed_at":null,"body":"discovered this when trying to run PlatyPS on the SQLPS module for SQL server. Part of getting the commands moves the runtime over to the SQL provider, PlatyPS fails dramatically at this point.\r\n\r\nTo Reproduce\r\n-----------------\r\n```PowerShell\r\nSet-Location HKLM: #this puts you on a provider outside of the filesystem (registry)\r\nNew-ExternalHelp -Path <MdFilePath> -Output <outputPath>\r\n```\r\nExpected behavior\r\n-----------------\r\nYou get the help.xml (external help) expected.\r\n\r\nActual behavior\r\n---------------\r\n```PowerShell\r\nGet-MarkdownMetadata : Cannot bind argument to parameter 'Markdown' because it is an empty string.\r\nAt D:\\GitHub Repos\\platyPS\\out\\platyPS\\platyPS.psm1:1155 char:48\r\n+     $metadata = Get-MarkdownMetadata -markdown $markdown\r\n+                                                ~~~~~~~~~\r\n    + CategoryInfo          : InvalidData: (:) [Get-MarkdownMetadata], ParameterBindingValidationException\r\n    + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Get-MarkdownMetadata\r\n```\r\n\r\nEnvironment data\r\n----------------\r\nPlatyPS v0.5.0\r\nWindows 10\r\nPowerShell 5.0\r\n"},"comment":{"url":"https://api.github.com/repos/PowerShell/platyPS/issues/comments/237362248","html_url":"https://github.com/PowerShell/platyPS/issues/161#issuecomment-237362248","issue_url":"https://api.github.com/repos/PowerShell/platyPS/issues/161","id":237362248,"user":{"login":"jongeller","id":660502,"avatar_url":"https://avatars.githubusercontent.com/u/660502?v=3","gravatar_id":"","url":"https://api.github.com/users/jongeller","html_url":"https://github.com/jongeller","followers_url":"https://api.github.com/users/jongeller/followers","following_url":"https://api.github.com/users/jongeller/following{/other_user}","gists_url":"https://api.github.com/users/jongeller/gists{/gist_id}","starred_url":"https://api.github.com/users/jongeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jongeller/subscriptions","organizations_url":"https://api.github.com/users/jongeller/orgs","repos_url":"https://api.github.com/users/jongeller/repos","events_url":"https://api.github.com/users/jongeller/events{/privacy}","received_events_url":"https://api.github.com/users/jongeller/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T20:28:01Z","updated_at":"2016-08-03T20:28:01Z","body":"fixed tests in 0a5c56b will merge in to master on build test completion."}}
{"actor":{"display_login":"jongeller"}}