{"action":"closed","issue":{"url":"https://api.github.com/repos/leinonen/cucumber-html-report/issues/55","repository_url":"https://api.github.com/repos/leinonen/cucumber-html-report","labels_url":"https://api.github.com/repos/leinonen/cucumber-html-report/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/leinonen/cucumber-html-report/issues/55/comments","events_url":"https://api.github.com/repos/leinonen/cucumber-html-report/issues/55/events","html_url":"https://github.com/leinonen/cucumber-html-report/issues/55","id":202658582,"number":55,"title":"Reporter fails when using custom options","user":{"login":"ndelrossi","id":6465291,"avatar_url":"https://avatars.githubusercontent.com/u/6465291?v=3","gravatar_id":"","url":"https://api.github.com/users/ndelrossi","html_url":"https://github.com/ndelrossi","followers_url":"https://api.github.com/users/ndelrossi/followers","following_url":"https://api.github.com/users/ndelrossi/following{/other_user}","gists_url":"https://api.github.com/users/ndelrossi/gists{/gist_id}","starred_url":"https://api.github.com/users/ndelrossi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndelrossi/subscriptions","organizations_url":"https://api.github.com/users/ndelrossi/orgs","repos_url":"https://api.github.com/users/ndelrossi/repos","events_url":"https://api.github.com/users/ndelrossi/events{/privacy}","received_events_url":"https://api.github.com/users/ndelrossi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-01-23T21:40:24Z","updated_at":"2017-02-07T19:28:35Z","closed_at":"2017-02-07T19:28:35Z","body":"I've been using this module for a while providing custom options for my source file name. This has broken recently in that it now expects a specific file name.\r\n\r\nI created a very simple test with these options which fails now but was working on 0.4.4 and back.\r\n\r\n```javascript\r\nvar options = {\r\n    source:    'report.json',\r\n    dest:      './',\r\n    name:      'report.html',\r\n    title:     'Cucumber Report'\r\n};\r\n```\r\n\r\nproduces this error:\r\n```\r\nInput file ./cucumber_report.json does not exist! Aborting\r\nConfig error\r\n/Users/redacted/Dev/test-reporter/test.js:9\r\nvar report = new Report(options);\r\n             ^\r\n\r\nTypeError: Report is not a constructor\r\n    at Object.<anonymous> (/Users/redacted/Dev/test-reporter/test.js:9:14)\r\n    at Module._compile (module.js:556:32)\r\n    at Object.Module._extensions..js (module.js:565:10)\r\n    at Module.load (module.js:473:32)\r\n    at tryModuleLoad (module.js:432:12)\r\n    at Function.Module._load (module.js:424:3)\r\n    at Module.runMain (module.js:590:10)\r\n    at run (bootstrap_node.js:394:7)\r\n    at startup (bootstrap_node.js:149:9)\r\n    at bootstrap_node.js:509:3\r\n```\r\n\r\nThe breaking change is in this commit: https://github.com/leinonen/cucumber-html-report/commit/9b5bae6f8ce3f3b66a86e04c91f3098718a93ca5"}}
{"actor":{"display_login":"leinonen"}}