{"action":"created","comment":{"url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/pulls/comments/86658726","pull_request_review_id":7309088,"id":86658726,"diff_hunk":"@@ -0,0 +1,44 @@\n+'use strict';\n+\n+const gutil     = require('gulp-util');\n+const path      = require('path');\n+const taskPath  = path.dirname(__dirname) + '/tasks';\n+const loadFiles = require('./load-files');\n+const registerTasks = require('./register-tasks');\n+\n+/**\n+ * @desc Loads up the available tasks files and\n+ *       registers them as gulp tasks\n+ * @param  {Object} gulp\n+ * @param  {Object} config\n+ */\n+function loadTasks(gulp, config) {\n+    // Bail early if no config file\n+    if (typeof(config) === 'undefined') {\n+        // @TODO Try to use gutil.PluginError instead\n+        gutil.log('You must provide a config file path');\n+    }\n+\n+    // Define run sequense here so it registers with the given gulp instance\n+    let runSequence  = require('run-sequence').use(gulp);\n+\n+    // Load task files\n+    let files = loadFiles(taskPath);","path":"lib/load-tasks.js","position":26,"original_position":26,"commit_id":"e5310a209c6180baddad9f35b26088baaf4973f9","original_commit_id":"e5310a209c6180baddad9f35b26088baaf4973f9","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'let' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).","created_at":"2016-11-05T05:42:05Z","updated_at":"2016-11-05T05:42:05Z","html_url":"https://github.com/Alxmerino/Gulp-Generic-Build/pull/3#discussion_r86658726","pull_request_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/pulls/comments/86658726"},"html":{"href":"https://github.com/Alxmerino/Gulp-Generic-Build/pull/3#discussion_r86658726"},"pull_request":{"href":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/pulls/3","id":92443419,"html_url":"https://github.com/Alxmerino/Gulp-Generic-Build/pull/3","diff_url":"https://github.com/Alxmerino/Gulp-Generic-Build/pull/3.diff","patch_url":"https://github.com/Alxmerino/Gulp-Generic-Build/pull/3.patch","issue_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/issues/3","number":3,"state":"open","locked":false,"title":"Nest refactor","user":{"login":"Alxmerino","id":1016021,"avatar_url":"https://avatars.githubusercontent.com/u/1016021?v=3","gravatar_id":"","url":"https://api.github.com/users/Alxmerino","html_url":"https://github.com/Alxmerino","followers_url":"https://api.github.com/users/Alxmerino/followers","following_url":"https://api.github.com/users/Alxmerino/following{/other_user}","gists_url":"https://api.github.com/users/Alxmerino/gists{/gist_id}","starred_url":"https://api.github.com/users/Alxmerino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alxmerino/subscriptions","organizations_url":"https://api.github.com/users/Alxmerino/orgs","repos_url":"https://api.github.com/users/Alxmerino/repos","events_url":"https://api.github.com/users/Alxmerino/events{/privacy}","received_events_url":"https://api.github.com/users/Alxmerino/received_events","type":"User","site_admin":false},"body":"- Handles the addition of tasks in nested folders\r\n- Breaks task creation into multiple component files\r\n- Add helper funtions","created_at":"2016-11-05T05:41:58Z","updated_at":"2016-11-05T05:42:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"57c6ebdc0d0069ba75b969319174644afa97b9fa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/issues/3/comments","statuses_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/statuses/e5310a209c6180baddad9f35b26088baaf4973f9","head":{"label":"Alxmerino:nest-refactor","ref":"nest-refactor","sha":"e5310a209c6180baddad9f35b26088baaf4973f9","user":{"login":"Alxmerino","id":1016021,"avatar_url":"https://avatars.githubusercontent.com/u/1016021?v=3","gravatar_id":"","url":"https://api.github.com/users/Alxmerino","html_url":"https://github.com/Alxmerino","followers_url":"https://api.github.com/users/Alxmerino/followers","following_url":"https://api.github.com/users/Alxmerino/following{/other_user}","gists_url":"https://api.github.com/users/Alxmerino/gists{/gist_id}","starred_url":"https://api.github.com/users/Alxmerino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alxmerino/subscriptions","organizations_url":"https://api.github.com/users/Alxmerino/orgs","repos_url":"https://api.github.com/users/Alxmerino/repos","events_url":"https://api.github.com/users/Alxmerino/events{/privacy}","received_events_url":"https://api.github.com/users/Alxmerino/received_events","type":"User","site_admin":false},"repo":{"id":71582130,"name":"Gulp-Generic-Build","full_name":"Alxmerino/Gulp-Generic-Build","owner":{"login":"Alxmerino","id":1016021,"avatar_url":"https://avatars.githubusercontent.com/u/1016021?v=3","gravatar_id":"","url":"https://api.github.com/users/Alxmerino","html_url":"https://github.com/Alxmerino","followers_url":"https://api.github.com/users/Alxmerino/followers","following_url":"https://api.github.com/users/Alxmerino/following{/other_user}","gists_url":"https://api.github.com/users/Alxmerino/gists{/gist_id}","starred_url":"https://api.github.com/users/Alxmerino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alxmerino/subscriptions","organizations_url":"https://api.github.com/users/Alxmerino/orgs","repos_url":"https://api.github.com/users/Alxmerino/repos","events_url":"https://api.github.com/users/Alxmerino/events{/privacy}","received_events_url":"https://api.github.com/users/Alxmerino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Alxmerino/Gulp-Generic-Build","description":"Commonly used task for various builds","fork":false,"url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build","forks_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/forks","keys_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/teams","hooks_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/hooks","issue_events_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/issues/events{/number}","events_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/events","assignees_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/assignees{/user}","branches_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/branches{/branch}","tags_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/tags","blobs_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/statuses/{sha}","languages_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/languages","stargazers_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/stargazers","contributors_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/contributors","subscribers_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/subscribers","subscription_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/subscription","commits_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/contents/{+path}","compare_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/merges","archive_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/downloads","issues_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/issues{/number}","pulls_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/pulls{/number}","milestones_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/milestones{/number}","notifications_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/labels{/name}","releases_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/releases{/id}","deployments_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/deployments","created_at":"2016-10-21T16:31:58Z","updated_at":"2016-10-21T19:12:14Z","pushed_at":"2016-11-05T05:41:58Z","git_url":"git://github.com/Alxmerino/Gulp-Generic-Build.git","ssh_url":"git@github.com:Alxmerino/Gulp-Generic-Build.git","clone_url":"https://github.com/Alxmerino/Gulp-Generic-Build.git","svn_url":"https://github.com/Alxmerino/Gulp-Generic-Build","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Alxmerino:master","ref":"master","sha":"2bf40d2572519e1900406205a81e6740040ef762","user":{"login":"Alxmerino","id":1016021,"avatar_url":"https://avatars.githubusercontent.com/u/1016021?v=3","gravatar_id":"","url":"https://api.github.com/users/Alxmerino","html_url":"https://github.com/Alxmerino","followers_url":"https://api.github.com/users/Alxmerino/followers","following_url":"https://api.github.com/users/Alxmerino/following{/other_user}","gists_url":"https://api.github.com/users/Alxmerino/gists{/gist_id}","starred_url":"https://api.github.com/users/Alxmerino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alxmerino/subscriptions","organizations_url":"https://api.github.com/users/Alxmerino/orgs","repos_url":"https://api.github.com/users/Alxmerino/repos","events_url":"https://api.github.com/users/Alxmerino/events{/privacy}","received_events_url":"https://api.github.com/users/Alxmerino/received_events","type":"User","site_admin":false},"repo":{"id":71582130,"name":"Gulp-Generic-Build","full_name":"Alxmerino/Gulp-Generic-Build","owner":{"login":"Alxmerino","id":1016021,"avatar_url":"https://avatars.githubusercontent.com/u/1016021?v=3","gravatar_id":"","url":"https://api.github.com/users/Alxmerino","html_url":"https://github.com/Alxmerino","followers_url":"https://api.github.com/users/Alxmerino/followers","following_url":"https://api.github.com/users/Alxmerino/following{/other_user}","gists_url":"https://api.github.com/users/Alxmerino/gists{/gist_id}","starred_url":"https://api.github.com/users/Alxmerino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alxmerino/subscriptions","organizations_url":"https://api.github.com/users/Alxmerino/orgs","repos_url":"https://api.github.com/users/Alxmerino/repos","events_url":"https://api.github.com/users/Alxmerino/events{/privacy}","received_events_url":"https://api.github.com/users/Alxmerino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Alxmerino/Gulp-Generic-Build","description":"Commonly used task for various builds","fork":false,"url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build","forks_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/forks","keys_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/teams","hooks_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/hooks","issue_events_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/issues/events{/number}","events_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/events","assignees_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/assignees{/user}","branches_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/branches{/branch}","tags_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/tags","blobs_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/statuses/{sha}","languages_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/languages","stargazers_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/stargazers","contributors_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/contributors","subscribers_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/subscribers","subscription_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/subscription","commits_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/contents/{+path}","compare_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/merges","archive_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/downloads","issues_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/issues{/number}","pulls_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/pulls{/number}","milestones_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/milestones{/number}","notifications_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/labels{/name}","releases_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/releases{/id}","deployments_url":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/deployments","created_at":"2016-10-21T16:31:58Z","updated_at":"2016-10-21T19:12:14Z","pushed_at":"2016-11-05T05:41:58Z","git_url":"git://github.com/Alxmerino/Gulp-Generic-Build.git","ssh_url":"git@github.com:Alxmerino/Gulp-Generic-Build.git","clone_url":"https://github.com/Alxmerino/Gulp-Generic-Build.git","svn_url":"https://github.com/Alxmerino/Gulp-Generic-Build","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/pulls/3"},"html":{"href":"https://github.com/Alxmerino/Gulp-Generic-Build/pull/3"},"issue":{"href":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/issues/3"},"comments":{"href":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Alxmerino/Gulp-Generic-Build/statuses/e5310a209c6180baddad9f35b26088baaf4973f9"}}}}
{"actor":{"display_login":"houndci-bot"}}