{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/17816","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/17816/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/17816/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/17816/events","html_url":"https://github.com/ansible/ansible/pull/17816","id":180131734,"number":17816,"title":"Bugfix: fixes new-alias bug when debugging powershell","user":{"login":"trondhindenes","id":1747120,"avatar_url":"https://avatars.githubusercontent.com/u/1747120?v=3","gravatar_id":"","url":"https://api.github.com/users/trondhindenes","html_url":"https://github.com/trondhindenes","followers_url":"https://api.github.com/users/trondhindenes/followers","following_url":"https://api.github.com/users/trondhindenes/following{/other_user}","gists_url":"https://api.github.com/users/trondhindenes/gists{/gist_id}","starred_url":"https://api.github.com/users/trondhindenes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trondhindenes/subscriptions","organizations_url":"https://api.github.com/users/trondhindenes/orgs","repos_url":"https://api.github.com/users/trondhindenes/repos","events_url":"https://api.github.com/users/trondhindenes/events{/privacy}","received_events_url":"https://api.github.com/users/trondhindenes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-29T18:51:17Z","updated_at":"2016-09-30T16:45:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/17816","html_url":"https://github.com/ansible/ansible/pull/17816","diff_url":"https://github.com/ansible/ansible/pull/17816.diff","patch_url":"https://github.com/ansible/ansible/pull/17816.patch"},"body":"##### ISSUE TYPE\r\n - Bugfix Pull Request\r\n\r\n\r\n##### COMPONENT NAME\r\npowershell.ps1\r\n\r\n##### ANSIBLE VERSION\r\n```\r\n2.2.1\r\n```\r\n\r\n##### SUMMARY\r\nThis fixes the bug where powershell throws an error when re-running the generated powershell script during debugging. The fix is simply to check whether the get-attr alias exists before setting it. Should make debugging a tiny bit easier since' it wont require manually editing the generated script to get around the bug anymore.\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/250793998","html_url":"https://github.com/ansible/ansible/pull/17816#issuecomment-250793998","issue_url":"https://api.github.com/repos/ansible/ansible/issues/17816","id":250793998,"user":{"login":"nitzmahone","id":6775756,"avatar_url":"https://avatars.githubusercontent.com/u/6775756?v=3","gravatar_id":"","url":"https://api.github.com/users/nitzmahone","html_url":"https://github.com/nitzmahone","followers_url":"https://api.github.com/users/nitzmahone/followers","following_url":"https://api.github.com/users/nitzmahone/following{/other_user}","gists_url":"https://api.github.com/users/nitzmahone/gists{/gist_id}","starred_url":"https://api.github.com/users/nitzmahone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitzmahone/subscriptions","organizations_url":"https://api.github.com/users/nitzmahone/orgs","repos_url":"https://api.github.com/users/nitzmahone/repos","events_url":"https://api.github.com/users/nitzmahone/events{/privacy}","received_events_url":"https://api.github.com/users/nitzmahone/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T16:45:28Z","updated_at":"2016-09-30T16:45:28Z","body":"Yeah, I get annoyed by that one plenty too- thanks! I'm going to include this in 2.2.0."}}
{"actor":{"display_login":"nitzmahone"}}