{"action":"created","comment":{"url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/pulls/comments/152800075","pull_request_review_id":78716717,"id":152800075,"diff_hunk":"@@ -53,6 +53,10 @@ do\n                 fi\n             elif [ $(wc -l \"$filename.$filetype\" | awk '{print $1}') -ge 15 ] || [ $(grep -E $'^(\\t|\\ )' \"$filename.$filetype\"  | wc -l) -ge 5 ]; then\n                 do_min=1\n+            else\n+                echo.Yellow \"$filename.$filetype is small enough, not be minified:\"\n+                echo.Yellow \"It doesn't have more than 15 lines.\"\n+                echo.Yellow \"Or it doesn't have more than 5 lines with tab(s) and blank(s) in the head of sentences.\"","path":"minify.sh","position":7,"original_position":7,"commit_id":"70390cfd486663cb32108c1a758e4ea53927da78","original_commit_id":"70390cfd486663cb32108c1a758e4ea53927da78","user":{"login":"maruilian11","id":10260008,"avatar_url":"https://avatars1.githubusercontent.com/u/10260008?v=4","gravatar_id":"","url":"https://api.github.com/users/maruilian11","html_url":"https://github.com/maruilian11","followers_url":"https://api.github.com/users/maruilian11/followers","following_url":"https://api.github.com/users/maruilian11/following{/other_user}","gists_url":"https://api.github.com/users/maruilian11/gists{/gist_id}","starred_url":"https://api.github.com/users/maruilian11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maruilian11/subscriptions","organizations_url":"https://api.github.com/users/maruilian11/orgs","repos_url":"https://api.github.com/users/maruilian11/repos","events_url":"https://api.github.com/users/maruilian11/events{/privacy}","received_events_url":"https://api.github.com/users/maruilian11/received_events","type":"User","site_admin":false},"body":"```\r\nCould be the following reasons:\r\nIt doesn't have more than 15 lines.\r\nit's not over 5 lines with tab(s) in the head of sentences.\r\nit's not over 5 lines with blank(s) in the head of sentences.\r\n```","created_at":"2017-11-23T13:25:56Z","updated_at":"2017-11-23T13:25:56Z","html_url":"https://github.com/PeterDaveHello/web-minify-helper/pull/15#discussion_r152800075","pull_request_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/pulls/15","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/pulls/comments/152800075"},"html":{"href":"https://github.com/PeterDaveHello/web-minify-helper/pull/15#discussion_r152800075"},"pull_request":{"href":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/pulls/15"}},"in_reply_to_id":146827788},"pull_request":{"url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/pulls/15","id":97157870,"html_url":"https://github.com/PeterDaveHello/web-minify-helper/pull/15","diff_url":"https://github.com/PeterDaveHello/web-minify-helper/pull/15.diff","patch_url":"https://github.com/PeterDaveHello/web-minify-helper/pull/15.patch","issue_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/issues/15","number":15,"state":"open","locked":false,"title":"Add echo about why files don't need to be minified","user":{"login":"maruilian11","id":10260008,"avatar_url":"https://avatars1.githubusercontent.com/u/10260008?v=4","gravatar_id":"","url":"https://api.github.com/users/maruilian11","html_url":"https://github.com/maruilian11","followers_url":"https://api.github.com/users/maruilian11/followers","following_url":"https://api.github.com/users/maruilian11/following{/other_user}","gists_url":"https://api.github.com/users/maruilian11/gists{/gist_id}","starred_url":"https://api.github.com/users/maruilian11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maruilian11/subscriptions","organizations_url":"https://api.github.com/users/maruilian11/orgs","repos_url":"https://api.github.com/users/maruilian11/repos","events_url":"https://api.github.com/users/maruilian11/events{/privacy}","received_events_url":"https://api.github.com/users/maruilian11/received_events","type":"User","site_admin":false},"body":"Sometimes the file won't get minified file after running the script, I think it's better to tell people the reason.\r\nI use yellow echo to explain it.","created_at":"2016-12-08T16:45:06Z","updated_at":"2017-11-23T13:25:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d125d6a928d11a9fbdd224fac513b65537a3bb9b","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/pulls/15/commits","review_comments_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/pulls/15/comments","review_comment_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/issues/15/comments","statuses_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/statuses/70390cfd486663cb32108c1a758e4ea53927da78","head":{"label":"maruilian11:patch-1","ref":"patch-1","sha":"70390cfd486663cb32108c1a758e4ea53927da78","user":{"login":"maruilian11","id":10260008,"avatar_url":"https://avatars1.githubusercontent.com/u/10260008?v=4","gravatar_id":"","url":"https://api.github.com/users/maruilian11","html_url":"https://github.com/maruilian11","followers_url":"https://api.github.com/users/maruilian11/followers","following_url":"https://api.github.com/users/maruilian11/following{/other_user}","gists_url":"https://api.github.com/users/maruilian11/gists{/gist_id}","starred_url":"https://api.github.com/users/maruilian11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maruilian11/subscriptions","organizations_url":"https://api.github.com/users/maruilian11/orgs","repos_url":"https://api.github.com/users/maruilian11/repos","events_url":"https://api.github.com/users/maruilian11/events{/privacy}","received_events_url":"https://api.github.com/users/maruilian11/received_events","type":"User","site_admin":false},"repo":{"id":75928677,"name":"web-minify-helper","full_name":"maruilian11/web-minify-helper","owner":{"login":"maruilian11","id":10260008,"avatar_url":"https://avatars1.githubusercontent.com/u/10260008?v=4","gravatar_id":"","url":"https://api.github.com/users/maruilian11","html_url":"https://github.com/maruilian11","followers_url":"https://api.github.com/users/maruilian11/followers","following_url":"https://api.github.com/users/maruilian11/following{/other_user}","gists_url":"https://api.github.com/users/maruilian11/gists{/gist_id}","starred_url":"https://api.github.com/users/maruilian11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maruilian11/subscriptions","organizations_url":"https://api.github.com/users/maruilian11/orgs","repos_url":"https://api.github.com/users/maruilian11/repos","events_url":"https://api.github.com/users/maruilian11/events{/privacy}","received_events_url":"https://api.github.com/users/maruilian11/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maruilian11/web-minify-helper","description":"Help web developer to make their js & css files minified easily!","fork":true,"url":"https://api.github.com/repos/maruilian11/web-minify-helper","forks_url":"https://api.github.com/repos/maruilian11/web-minify-helper/forks","keys_url":"https://api.github.com/repos/maruilian11/web-minify-helper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maruilian11/web-minify-helper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maruilian11/web-minify-helper/teams","hooks_url":"https://api.github.com/repos/maruilian11/web-minify-helper/hooks","issue_events_url":"https://api.github.com/repos/maruilian11/web-minify-helper/issues/events{/number}","events_url":"https://api.github.com/repos/maruilian11/web-minify-helper/events","assignees_url":"https://api.github.com/repos/maruilian11/web-minify-helper/assignees{/user}","branches_url":"https://api.github.com/repos/maruilian11/web-minify-helper/branches{/branch}","tags_url":"https://api.github.com/repos/maruilian11/web-minify-helper/tags","blobs_url":"https://api.github.com/repos/maruilian11/web-minify-helper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maruilian11/web-minify-helper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maruilian11/web-minify-helper/git/refs{/sha}","trees_url":"https://api.github.com/repos/maruilian11/web-minify-helper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maruilian11/web-minify-helper/statuses/{sha}","languages_url":"https://api.github.com/repos/maruilian11/web-minify-helper/languages","stargazers_url":"https://api.github.com/repos/maruilian11/web-minify-helper/stargazers","contributors_url":"https://api.github.com/repos/maruilian11/web-minify-helper/contributors","subscribers_url":"https://api.github.com/repos/maruilian11/web-minify-helper/subscribers","subscription_url":"https://api.github.com/repos/maruilian11/web-minify-helper/subscription","commits_url":"https://api.github.com/repos/maruilian11/web-minify-helper/commits{/sha}","git_commits_url":"https://api.github.com/repos/maruilian11/web-minify-helper/git/commits{/sha}","comments_url":"https://api.github.com/repos/maruilian11/web-minify-helper/comments{/number}","issue_comment_url":"https://api.github.com/repos/maruilian11/web-minify-helper/issues/comments{/number}","contents_url":"https://api.github.com/repos/maruilian11/web-minify-helper/contents/{+path}","compare_url":"https://api.github.com/repos/maruilian11/web-minify-helper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maruilian11/web-minify-helper/merges","archive_url":"https://api.github.com/repos/maruilian11/web-minify-helper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maruilian11/web-minify-helper/downloads","issues_url":"https://api.github.com/repos/maruilian11/web-minify-helper/issues{/number}","pulls_url":"https://api.github.com/repos/maruilian11/web-minify-helper/pulls{/number}","milestones_url":"https://api.github.com/repos/maruilian11/web-minify-helper/milestones{/number}","notifications_url":"https://api.github.com/repos/maruilian11/web-minify-helper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maruilian11/web-minify-helper/labels{/name}","releases_url":"https://api.github.com/repos/maruilian11/web-minify-helper/releases{/id}","deployments_url":"https://api.github.com/repos/maruilian11/web-minify-helper/deployments","created_at":"2016-12-08T10:42:24Z","updated_at":"2016-12-08T10:42:25Z","pushed_at":"2017-10-15T16:25:23Z","git_url":"git://github.com/maruilian11/web-minify-helper.git","ssh_url":"git@github.com:maruilian11/web-minify-helper.git","clone_url":"https://github.com/maruilian11/web-minify-helper.git","svn_url":"https://github.com/maruilian11/web-minify-helper","homepage":null,"size":24,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PeterDaveHello:master","ref":"master","sha":"4556a0e7c4398ba65d8b11f7dfbfb43e17e872a3","user":{"login":"PeterDaveHello","id":3691490,"avatar_url":"https://avatars3.githubusercontent.com/u/3691490?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterDaveHello","html_url":"https://github.com/PeterDaveHello","followers_url":"https://api.github.com/users/PeterDaveHello/followers","following_url":"https://api.github.com/users/PeterDaveHello/following{/other_user}","gists_url":"https://api.github.com/users/PeterDaveHello/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDaveHello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDaveHello/subscriptions","organizations_url":"https://api.github.com/users/PeterDaveHello/orgs","repos_url":"https://api.github.com/users/PeterDaveHello/repos","events_url":"https://api.github.com/users/PeterDaveHello/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDaveHello/received_events","type":"User","site_admin":false},"repo":{"id":18453185,"name":"web-minify-helper","full_name":"PeterDaveHello/web-minify-helper","owner":{"login":"PeterDaveHello","id":3691490,"avatar_url":"https://avatars3.githubusercontent.com/u/3691490?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterDaveHello","html_url":"https://github.com/PeterDaveHello","followers_url":"https://api.github.com/users/PeterDaveHello/followers","following_url":"https://api.github.com/users/PeterDaveHello/following{/other_user}","gists_url":"https://api.github.com/users/PeterDaveHello/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDaveHello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDaveHello/subscriptions","organizations_url":"https://api.github.com/users/PeterDaveHello/orgs","repos_url":"https://api.github.com/users/PeterDaveHello/repos","events_url":"https://api.github.com/users/PeterDaveHello/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDaveHello/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PeterDaveHello/web-minify-helper","description":"Help web developer to make their js & css files minified easily!","fork":false,"url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper","forks_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/forks","keys_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/teams","hooks_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/hooks","issue_events_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/issues/events{/number}","events_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/events","assignees_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/assignees{/user}","branches_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/branches{/branch}","tags_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/tags","blobs_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/git/refs{/sha}","trees_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/statuses/{sha}","languages_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/languages","stargazers_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/stargazers","contributors_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/contributors","subscribers_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/subscribers","subscription_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/subscription","commits_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/commits{/sha}","git_commits_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/git/commits{/sha}","comments_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/comments{/number}","issue_comment_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/issues/comments{/number}","contents_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/contents/{+path}","compare_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/merges","archive_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/downloads","issues_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/issues{/number}","pulls_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/pulls{/number}","milestones_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/milestones{/number}","notifications_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/labels{/name}","releases_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/releases{/id}","deployments_url":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/deployments","created_at":"2014-04-04T21:24:26Z","updated_at":"2017-11-16T02:17:01Z","pushed_at":"2017-11-13T13:34:36Z","git_url":"git://github.com/PeterDaveHello/web-minify-helper.git","ssh_url":"git@github.com:PeterDaveHello/web-minify-helper.git","clone_url":"https://github.com/PeterDaveHello/web-minify-helper.git","svn_url":"https://github.com/PeterDaveHello/web-minify-helper","homepage":null,"size":26,"stargazers_count":10,"watchers_count":10,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":9,"forks":8,"open_issues":9,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/pulls/15"},"html":{"href":"https://github.com/PeterDaveHello/web-minify-helper/pull/15"},"issue":{"href":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/issues/15"},"comments":{"href":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/PeterDaveHello/web-minify-helper/statuses/70390cfd486663cb32108c1a758e4ea53927da78"}},"author_association":"NONE"}}
{"actor":{"display_login":"maruilian11"}}