{"action":"opened","issue":{"url":"https://api.github.com/repos/jstty/beelzebub/issues/34","repository_url":"https://api.github.com/repos/jstty/beelzebub","labels_url":"https://api.github.com/repos/jstty/beelzebub/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/jstty/beelzebub/issues/34/comments","events_url":"https://api.github.com/repos/jstty/beelzebub/issues/34/events","html_url":"https://github.com/jstty/beelzebub/issues/34","id":193045636,"number":34,"title":"default task referanced by name does not work","user":{"login":"jstty","id":3078120,"avatar_url":"https://avatars.githubusercontent.com/u/3078120?v=3","gravatar_id":"","url":"https://api.github.com/users/jstty","html_url":"https://github.com/jstty","followers_url":"https://api.github.com/users/jstty/followers","following_url":"https://api.github.com/users/jstty/following{/other_user}","gists_url":"https://api.github.com/users/jstty/gists{/gist_id}","starred_url":"https://api.github.com/users/jstty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstty/subscriptions","organizations_url":"https://api.github.com/users/jstty/orgs","repos_url":"https://api.github.com/users/jstty/repos","events_url":"https://api.github.com/users/jstty/events{/privacy}","received_events_url":"https://api.github.com/users/jstty/received_events","type":"User","site_admin":false},"labels":[{"id":397184450,"url":"https://api.github.com/repos/jstty/beelzebub/labels/bug","name":"bug","color":"ee0701","default":true},{"id":480541936,"url":"https://api.github.com/repos/jstty/beelzebub/labels/P3%20-%20Normal","name":"P3 - Normal","color":"e99695","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-02T06:41:44Z","updated_at":"2016-12-02T06:41:44Z","closed_at":null,"body":"```javascript\r\nlet Beelzebub = require('beelzebub');\r\nlet bz = Beelzebub();\r\n\r\nclass MyTasks extends Beelzebub.Tasks {\r\n    constructor (config) {\r\n        super(config);\r\n        this.$setDefault('task');\r\n    }\r\n   \r\n   task () {\r\n        this.logger.log('task');\r\n   }\r\n}\r\n\r\nbz.add(MyTasks);\r\nlet p = bz.run('MyTasks'\r\n, 'MyTasks.task' // this throws errors\r\n);\r\n```\r\n"}}
{"actor":{"display_login":"jstty"}}