{"action":"created","comment":{"url":"https://api.github.com/repos/bazaarvoice/scoutfile/pulls/comments/30736864","id":30736864,"diff_hunk":"@@ -96,6 +96,18 @@ module.exports.generate = function generateScout(options, callback) {\n     webpackOptions.output.pathinfo = true;\n   }\n \n+  if (options.banner) {\n+    if (!_.isArray(options.banner)) {\n+      options.banner = [ options.banner ];\n+    }\n+\n+    options.banner.forEach(function (banner) {\n+      webpackOptions.plugins.push(\n+        new webpack.BannerPlugin(banner.content, banner.options || {})","path":"lib/index.js","position":11,"original_position":11,"commit_id":"18c708c4139c172fa44c9a9921b56664c1189aca","original_commit_id":"18c708c4139c172fa44c9a9921b56664c1189aca","user":{"login":"brianarn","id":100538,"avatar_url":"https://avatars.githubusercontent.com/u/100538?v=3","gravatar_id":"","url":"https://api.github.com/users/brianarn","html_url":"https://github.com/brianarn","followers_url":"https://api.github.com/users/brianarn/followers","following_url":"https://api.github.com/users/brianarn/following{/other_user}","gists_url":"https://api.github.com/users/brianarn/gists{/gist_id}","starred_url":"https://api.github.com/users/brianarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianarn/subscriptions","organizations_url":"https://api.github.com/users/brianarn/orgs","repos_url":"https://api.github.com/users/brianarn/repos","events_url":"https://api.github.com/users/brianarn/events{/privacy}","received_events_url":"https://api.github.com/users/brianarn/received_events","type":"User","site_admin":false},"body":"worth checking for `banner.content` being defined before straight pushing, and possibly emitting some sort of warning if someone left it out by accident?","created_at":"2015-05-20T19:00:49Z","updated_at":"2015-05-20T19:00:49Z","html_url":"https://github.com/bazaarvoice/scoutfile/pull/19#discussion_r30736864","pull_request_url":"https://api.github.com/repos/bazaarvoice/scoutfile/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/bazaarvoice/scoutfile/pulls/comments/30736864"},"html":{"href":"https://github.com/bazaarvoice/scoutfile/pull/19#discussion_r30736864"},"pull_request":{"href":"https://api.github.com/repos/bazaarvoice/scoutfile/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/bazaarvoice/scoutfile/pulls/19","id":35847987,"html_url":"https://github.com/bazaarvoice/scoutfile/pull/19","diff_url":"https://github.com/bazaarvoice/scoutfile/pull/19.diff","patch_url":"https://github.com/bazaarvoice/scoutfile/pull/19.patch","issue_url":"https://api.github.com/repos/bazaarvoice/scoutfile/issues/19","number":19,"state":"closed","locked":false,"title":"support for adding banners to generated file","user":{"login":"rmurphey","id":58987,"avatar_url":"https://avatars.githubusercontent.com/u/58987?v=3","gravatar_id":"","url":"https://api.github.com/users/rmurphey","html_url":"https://github.com/rmurphey","followers_url":"https://api.github.com/users/rmurphey/followers","following_url":"https://api.github.com/users/rmurphey/following{/other_user}","gists_url":"https://api.github.com/users/rmurphey/gists{/gist_id}","starred_url":"https://api.github.com/users/rmurphey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmurphey/subscriptions","organizations_url":"https://api.github.com/users/rmurphey/orgs","repos_url":"https://api.github.com/users/rmurphey/repos","events_url":"https://api.github.com/users/rmurphey/events{/privacy}","received_events_url":"https://api.github.com/users/rmurphey/received_events","type":"User","site_admin":false},"body":"Re #2 ","created_at":"2015-05-20T16:02:30Z","updated_at":"2015-05-20T19:00:49Z","closed_at":"2015-05-20T18:38:22Z","merged_at":null,"merge_commit_sha":"ddd4b6543d2bd172a9b0e76e5636f13e6abe2318","assignee":{"login":"lawnsea","id":296238,"avatar_url":"https://avatars.githubusercontent.com/u/296238?v=3","gravatar_id":"","url":"https://api.github.com/users/lawnsea","html_url":"https://github.com/lawnsea","followers_url":"https://api.github.com/users/lawnsea/followers","following_url":"https://api.github.com/users/lawnsea/following{/other_user}","gists_url":"https://api.github.com/users/lawnsea/gists{/gist_id}","starred_url":"https://api.github.com/users/lawnsea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lawnsea/subscriptions","organizations_url":"https://api.github.com/users/lawnsea/orgs","repos_url":"https://api.github.com/users/lawnsea/repos","events_url":"https://api.github.com/users/lawnsea/events{/privacy}","received_events_url":"https://api.github.com/users/lawnsea/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/bazaarvoice/scoutfile/pulls/19/commits","review_comments_url":"https://api.github.com/repos/bazaarvoice/scoutfile/pulls/19/comments","review_comment_url":"https://api.github.com/repos/bazaarvoice/scoutfile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bazaarvoice/scoutfile/issues/19/comments","statuses_url":"https://api.github.com/repos/bazaarvoice/scoutfile/statuses/18c708c4139c172fa44c9a9921b56664c1189aca","head":{"label":"rmurphey:banner","ref":"banner","sha":"18c708c4139c172fa44c9a9921b56664c1189aca","user":{"login":"rmurphey","id":58987,"avatar_url":"https://avatars.githubusercontent.com/u/58987?v=3","gravatar_id":"","url":"https://api.github.com/users/rmurphey","html_url":"https://github.com/rmurphey","followers_url":"https://api.github.com/users/rmurphey/followers","following_url":"https://api.github.com/users/rmurphey/following{/other_user}","gists_url":"https://api.github.com/users/rmurphey/gists{/gist_id}","starred_url":"https://api.github.com/users/rmurphey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmurphey/subscriptions","organizations_url":"https://api.github.com/users/rmurphey/orgs","repos_url":"https://api.github.com/users/rmurphey/repos","events_url":"https://api.github.com/users/rmurphey/events{/privacy}","received_events_url":"https://api.github.com/users/rmurphey/received_events","type":"User","site_admin":false},"repo":{"id":32414758,"name":"scoutfile","full_name":"rmurphey/scoutfile","owner":{"login":"rmurphey","id":58987,"avatar_url":"https://avatars.githubusercontent.com/u/58987?v=3","gravatar_id":"","url":"https://api.github.com/users/rmurphey","html_url":"https://github.com/rmurphey","followers_url":"https://api.github.com/users/rmurphey/followers","following_url":"https://api.github.com/users/rmurphey/following{/other_user}","gists_url":"https://api.github.com/users/rmurphey/gists{/gist_id}","starred_url":"https://api.github.com/users/rmurphey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmurphey/subscriptions","organizations_url":"https://api.github.com/users/rmurphey/orgs","repos_url":"https://api.github.com/users/rmurphey/repos","events_url":"https://api.github.com/users/rmurphey/events{/privacy}","received_events_url":"https://api.github.com/users/rmurphey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rmurphey/scoutfile","description":"A Node module for generating a scout file for a client-side JS app","fork":true,"url":"https://api.github.com/repos/rmurphey/scoutfile","forks_url":"https://api.github.com/repos/rmurphey/scoutfile/forks","keys_url":"https://api.github.com/repos/rmurphey/scoutfile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rmurphey/scoutfile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rmurphey/scoutfile/teams","hooks_url":"https://api.github.com/repos/rmurphey/scoutfile/hooks","issue_events_url":"https://api.github.com/repos/rmurphey/scoutfile/issues/events{/number}","events_url":"https://api.github.com/repos/rmurphey/scoutfile/events","assignees_url":"https://api.github.com/repos/rmurphey/scoutfile/assignees{/user}","branches_url":"https://api.github.com/repos/rmurphey/scoutfile/branches{/branch}","tags_url":"https://api.github.com/repos/rmurphey/scoutfile/tags","blobs_url":"https://api.github.com/repos/rmurphey/scoutfile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rmurphey/scoutfile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rmurphey/scoutfile/git/refs{/sha}","trees_url":"https://api.github.com/repos/rmurphey/scoutfile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rmurphey/scoutfile/statuses/{sha}","languages_url":"https://api.github.com/repos/rmurphey/scoutfile/languages","stargazers_url":"https://api.github.com/repos/rmurphey/scoutfile/stargazers","contributors_url":"https://api.github.com/repos/rmurphey/scoutfile/contributors","subscribers_url":"https://api.github.com/repos/rmurphey/scoutfile/subscribers","subscription_url":"https://api.github.com/repos/rmurphey/scoutfile/subscription","commits_url":"https://api.github.com/repos/rmurphey/scoutfile/commits{/sha}","git_commits_url":"https://api.github.com/repos/rmurphey/scoutfile/git/commits{/sha}","comments_url":"https://api.github.com/repos/rmurphey/scoutfile/comments{/number}","issue_comment_url":"https://api.github.com/repos/rmurphey/scoutfile/issues/comments{/number}","contents_url":"https://api.github.com/repos/rmurphey/scoutfile/contents/{+path}","compare_url":"https://api.github.com/repos/rmurphey/scoutfile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rmurphey/scoutfile/merges","archive_url":"https://api.github.com/repos/rmurphey/scoutfile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rmurphey/scoutfile/downloads","issues_url":"https://api.github.com/repos/rmurphey/scoutfile/issues{/number}","pulls_url":"https://api.github.com/repos/rmurphey/scoutfile/pulls{/number}","milestones_url":"https://api.github.com/repos/rmurphey/scoutfile/milestones{/number}","notifications_url":"https://api.github.com/repos/rmurphey/scoutfile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rmurphey/scoutfile/labels{/name}","releases_url":"https://api.github.com/repos/rmurphey/scoutfile/releases{/id}","created_at":"2015-03-17T19:18:33Z","updated_at":"2015-03-17T19:18:33Z","pushed_at":"2015-05-20T18:37:42Z","git_url":"git://github.com/rmurphey/scoutfile.git","ssh_url":"git@github.com:rmurphey/scoutfile.git","clone_url":"https://github.com/rmurphey/scoutfile.git","svn_url":"https://github.com/rmurphey/scoutfile","homepage":"","size":191,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bazaarvoice:master","ref":"master","sha":"a18831fa42f42e96aa0322d955895628255adf44","user":{"login":"bazaarvoice","id":152469,"avatar_url":"https://avatars.githubusercontent.com/u/152469?v=3","gravatar_id":"","url":"https://api.github.com/users/bazaarvoice","html_url":"https://github.com/bazaarvoice","followers_url":"https://api.github.com/users/bazaarvoice/followers","following_url":"https://api.github.com/users/bazaarvoice/following{/other_user}","gists_url":"https://api.github.com/users/bazaarvoice/gists{/gist_id}","starred_url":"https://api.github.com/users/bazaarvoice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bazaarvoice/subscriptions","organizations_url":"https://api.github.com/users/bazaarvoice/orgs","repos_url":"https://api.github.com/users/bazaarvoice/repos","events_url":"https://api.github.com/users/bazaarvoice/events{/privacy}","received_events_url":"https://api.github.com/users/bazaarvoice/received_events","type":"Organization","site_admin":false},"repo":{"id":31616647,"name":"scoutfile","full_name":"bazaarvoice/scoutfile","owner":{"login":"bazaarvoice","id":152469,"avatar_url":"https://avatars.githubusercontent.com/u/152469?v=3","gravatar_id":"","url":"https://api.github.com/users/bazaarvoice","html_url":"https://github.com/bazaarvoice","followers_url":"https://api.github.com/users/bazaarvoice/followers","following_url":"https://api.github.com/users/bazaarvoice/following{/other_user}","gists_url":"https://api.github.com/users/bazaarvoice/gists{/gist_id}","starred_url":"https://api.github.com/users/bazaarvoice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bazaarvoice/subscriptions","organizations_url":"https://api.github.com/users/bazaarvoice/orgs","repos_url":"https://api.github.com/users/bazaarvoice/repos","events_url":"https://api.github.com/users/bazaarvoice/events{/privacy}","received_events_url":"https://api.github.com/users/bazaarvoice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bazaarvoice/scoutfile","description":"A Node module for generating a scout file for a client-side JS app","fork":false,"url":"https://api.github.com/repos/bazaarvoice/scoutfile","forks_url":"https://api.github.com/repos/bazaarvoice/scoutfile/forks","keys_url":"https://api.github.com/repos/bazaarvoice/scoutfile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bazaarvoice/scoutfile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bazaarvoice/scoutfile/teams","hooks_url":"https://api.github.com/repos/bazaarvoice/scoutfile/hooks","issue_events_url":"https://api.github.com/repos/bazaarvoice/scoutfile/issues/events{/number}","events_url":"https://api.github.com/repos/bazaarvoice/scoutfile/events","assignees_url":"https://api.github.com/repos/bazaarvoice/scoutfile/assignees{/user}","branches_url":"https://api.github.com/repos/bazaarvoice/scoutfile/branches{/branch}","tags_url":"https://api.github.com/repos/bazaarvoice/scoutfile/tags","blobs_url":"https://api.github.com/repos/bazaarvoice/scoutfile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bazaarvoice/scoutfile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bazaarvoice/scoutfile/git/refs{/sha}","trees_url":"https://api.github.com/repos/bazaarvoice/scoutfile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bazaarvoice/scoutfile/statuses/{sha}","languages_url":"https://api.github.com/repos/bazaarvoice/scoutfile/languages","stargazers_url":"https://api.github.com/repos/bazaarvoice/scoutfile/stargazers","contributors_url":"https://api.github.com/repos/bazaarvoice/scoutfile/contributors","subscribers_url":"https://api.github.com/repos/bazaarvoice/scoutfile/subscribers","subscription_url":"https://api.github.com/repos/bazaarvoice/scoutfile/subscription","commits_url":"https://api.github.com/repos/bazaarvoice/scoutfile/commits{/sha}","git_commits_url":"https://api.github.com/repos/bazaarvoice/scoutfile/git/commits{/sha}","comments_url":"https://api.github.com/repos/bazaarvoice/scoutfile/comments{/number}","issue_comment_url":"https://api.github.com/repos/bazaarvoice/scoutfile/issues/comments{/number}","contents_url":"https://api.github.com/repos/bazaarvoice/scoutfile/contents/{+path}","compare_url":"https://api.github.com/repos/bazaarvoice/scoutfile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bazaarvoice/scoutfile/merges","archive_url":"https://api.github.com/repos/bazaarvoice/scoutfile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bazaarvoice/scoutfile/downloads","issues_url":"https://api.github.com/repos/bazaarvoice/scoutfile/issues{/number}","pulls_url":"https://api.github.com/repos/bazaarvoice/scoutfile/pulls{/number}","milestones_url":"https://api.github.com/repos/bazaarvoice/scoutfile/milestones{/number}","notifications_url":"https://api.github.com/repos/bazaarvoice/scoutfile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bazaarvoice/scoutfile/labels{/name}","releases_url":"https://api.github.com/repos/bazaarvoice/scoutfile/releases{/id}","created_at":"2015-03-03T19:23:07Z","updated_at":"2015-05-05T02:44:43Z","pushed_at":"2015-05-20T18:41:16Z","git_url":"git://github.com/bazaarvoice/scoutfile.git","ssh_url":"git@github.com:bazaarvoice/scoutfile.git","clone_url":"https://github.com/bazaarvoice/scoutfile.git","svn_url":"https://github.com/bazaarvoice/scoutfile","homepage":"","size":498,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":6,"forks":4,"open_issues":6,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bazaarvoice/scoutfile/pulls/19"},"html":{"href":"https://github.com/bazaarvoice/scoutfile/pull/19"},"issue":{"href":"https://api.github.com/repos/bazaarvoice/scoutfile/issues/19"},"comments":{"href":"https://api.github.com/repos/bazaarvoice/scoutfile/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/bazaarvoice/scoutfile/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/bazaarvoice/scoutfile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bazaarvoice/scoutfile/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/bazaarvoice/scoutfile/statuses/18c708c4139c172fa44c9a9921b56664c1189aca"}}}}