GitHub PullRequestReviewCommentEvent at 2014-06-03 13:59:28
Repository: leap_platform
Actor: micah
Payload: {"comment":{"url":"https://api.github.com/repos/leapcode/leap_platform/pulls/comments/13335086","id":13335086,"diff_hunk":"@@ -0,0 +1,12 @@\n+TRANSPORT=<%= @transport %>\n+PORT=<%= @port %>\n+DEST_IP=<%= @dest_ip %>\n+DEST_PORT=<%= @dest_port %>\n+<% if @transport == \"scramblesuit\" %>","path":"puppet/modules/obfsproxy/templates/etc_conf.erb","position":5,"original_position":5,"commit_id":"16e45d13ffba351d175c718de594913395d4e5c1","original_commit_id":"16e45d13ffba351d175c718de594913395d4e5c1","user":{"login":"micah","id":2832,"avatar_url":"https://avatars.githubusercontent.com/u/2832?","gravatar_id":"f89bb5c8c834d6b00c57b5d60e3b521f","url":"https://api.github.com/users/micah","html_url":"https://github.com/micah","followers_url":"https://api.github.com/users/micah/followers","following_url":"https://api.github.com/users/micah/following{/other_user}","gists_url":"https://api.github.com/users/micah/gists{/gist_id}","starred_url":"https://api.github.com/users/micah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micah/subscriptions","organizations_url":"https://api.github.com/users/micah/orgs","repos_url":"https://api.github.com/users/micah/repos","events_url":"https://api.github.com/users/micah/events{/privacy}","received_events_url":"https://api.github.com/users/micah/received_events","type":"User","site_admin":false},"body":"i think the if/else lines here will insert newlines into the generated file if you dont append them with a -, like this:\r\n<% if @transport == \"scramblesuit\" -%>\r\n...\r\n<% else -%>","created_at":"2014-06-03T13:59:28Z","updated_at":"2014-06-03T13:59:28Z","html_url":"https://github.com/leapcode/leap_platform/pull/26#discussion_r13335086","pull_request_url":"https://api.github.com/repos/leapcode/leap_platform/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/leapcode/leap_platform/pulls/comments/13335086"},"html":{"href":"https://github.com/leapcode/leap_platform/pull/26#discussion_r13335086"},"pull_request":{"href":"https://api.github.com/repos/leapcode/leap_platform/pulls/26"}}}}