{"action":"opened","issue":{"url":"https://api.github.com/repos/cucumber/gherkin/issues/238","repository_url":"https://api.github.com/repos/cucumber/gherkin","labels_url":"https://api.github.com/repos/cucumber/gherkin/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/gherkin/issues/238/comments","events_url":"https://api.github.com/repos/cucumber/gherkin/issues/238/events","html_url":"https://github.com/cucumber/gherkin/issues/238","id":191133066,"number":238,"title":"Javascript:  new Gherkin.Compiler.compile(gherkinDocument, '/path/to/file.feature') doesn't write file","user":{"login":"si-mikey","id":1561914,"avatar_url":"https://avatars.githubusercontent.com/u/1561914?v=3","gravatar_id":"","url":"https://api.github.com/users/si-mikey","html_url":"https://github.com/si-mikey","followers_url":"https://api.github.com/users/si-mikey/followers","following_url":"https://api.github.com/users/si-mikey/following{/other_user}","gists_url":"https://api.github.com/users/si-mikey/gists{/gist_id}","starred_url":"https://api.github.com/users/si-mikey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/si-mikey/subscriptions","organizations_url":"https://api.github.com/users/si-mikey/orgs","repos_url":"https://api.github.com/users/si-mikey/repos","events_url":"https://api.github.com/users/si-mikey/events{/privacy}","received_events_url":"https://api.github.com/users/si-mikey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-22T21:47:40Z","updated_at":"2016-11-22T21:47:40Z","closed_at":null,"body":"I have followed the examples on the javascript section. \r\n```js\r\nvar pickles = new Gherkin.Compiler().compile(gherkinDocument, '/home/user/test.feature');\r\n```\r\ndoesn't write the test.feature file, though in pickles I get \r\n\r\n```js\r\n[ { tags: [],\r\n    name: 'this is a test',\r\n    locations: [ [Object] ],\r\n    steps: [ [Object], [Object] ] } ]\r\n```\r\nDoes anyone know why the file is not written to the directory?"}}
{"actor":{"display_login":"si-mikey"}}