{"action":"created","issue":{"url":"https://api.github.com/repos/ukoloff/win-ca/issues/2","repository_url":"https://api.github.com/repos/ukoloff/win-ca","labels_url":"https://api.github.com/repos/ukoloff/win-ca/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ukoloff/win-ca/issues/2/comments","events_url":"https://api.github.com/repos/ukoloff/win-ca/issues/2/events","html_url":"https://github.com/ukoloff/win-ca/issues/2","id":328658786,"node_id":"MDU6SXNzdWUzMjg2NTg3ODY=","number":2,"title":"Syntax Error in README example","user":{"login":"ryanvgates","id":1400394,"node_id":"MDQ6VXNlcjE0MDAzOTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1400394?v=4","gravatar_id":"","url":"https://api.github.com/users/ryanvgates","html_url":"https://github.com/ryanvgates","followers_url":"https://api.github.com/users/ryanvgates/followers","following_url":"https://api.github.com/users/ryanvgates/following{/other_user}","gists_url":"https://api.github.com/users/ryanvgates/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanvgates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanvgates/subscriptions","organizations_url":"https://api.github.com/users/ryanvgates/orgs","repos_url":"https://api.github.com/users/ryanvgates/repos","events_url":"https://api.github.com/users/ryanvgates/events{/privacy}","received_events_url":"https://api.github.com/users/ryanvgates/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2018-06-01T20:58:00Z","updated_at":"2018-06-14T05:54:09Z","closed_at":"2018-06-07T14:47:05Z","author_association":"NONE","body":"It looks like the following code in the README example is\r\n\r\n<pre>\r\nfor crt in ca.all()\r\n  dst.write forge.pki.certificateToPem crt</pre>\r\n\r\nshould read\r\n<pre>\r\nfor (crt in ca.all())\r\n  dst.write forge.pki.certificateToPem crt</pre>\r\n\r\nIt causes a syntax error without the `()` around the inner part `crt in ca.all()`.\r\n\r\nWhen I run it, I get the following error as well.\r\n\r\n<pre>\r\nfor (crt in ca.all())\r\n               ^\r\n\r\nTypeError: ca.all is not a function\r\n    at Object.<anonymous> (C:\\Users\\user\\Source\\Repos\\testingNTLM\\app.js:8:16)\r\n    at Module._compile (module.js:635:30)\r\n    at Object.Module._extensions..js (module.js:646:10)\r\n    at Module.load (module.js:554:32)\r\n    at tryModuleLoad (module.js:497:12)\r\n    at Function.Module._load (module.js:489:3)\r\n    at Function.Module.runMain (module.js:676:10)\r\n    at startup (bootstrap_node.js:187:16)\r\n    at bootstrap_node.js:608:3\r\n</pre>\r\n\r\nIs there something that I'm missing?"},"comment":{"url":"https://api.github.com/repos/ukoloff/win-ca/issues/comments/397179516","html_url":"https://github.com/ukoloff/win-ca/issues/2#issuecomment-397179516","issue_url":"https://api.github.com/repos/ukoloff/win-ca/issues/2","id":397179516,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzE3OTUxNg==","user":{"login":"ukoloff","id":2286584,"node_id":"MDQ6VXNlcjIyODY1ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2286584?v=4","gravatar_id":"","url":"https://api.github.com/users/ukoloff","html_url":"https://github.com/ukoloff","followers_url":"https://api.github.com/users/ukoloff/followers","following_url":"https://api.github.com/users/ukoloff/following{/other_user}","gists_url":"https://api.github.com/users/ukoloff/gists{/gist_id}","starred_url":"https://api.github.com/users/ukoloff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ukoloff/subscriptions","organizations_url":"https://api.github.com/users/ukoloff/orgs","repos_url":"https://api.github.com/users/ukoloff/repos","events_url":"https://api.github.com/users/ukoloff/events{/privacy}","received_events_url":"https://api.github.com/users/ukoloff/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T05:54:09Z","updated_at":"2018-06-14T05:54:09Z","author_association":"OWNER","body":"I hope, it will become available this week, but not for sure. I play with it in my spare time."}}
{"actor":{"display_login":"ukoloff"}}