{"action":"created","issue":{"url":"https://api.github.com/repos/heroku/heroku-cli-util/issues/69","repository_url":"https://api.github.com/repos/heroku/heroku-cli-util","labels_url":"https://api.github.com/repos/heroku/heroku-cli-util/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/heroku/heroku-cli-util/issues/69/comments","events_url":"https://api.github.com/repos/heroku/heroku-cli-util/issues/69/events","html_url":"https://github.com/heroku/heroku-cli-util/issues/69","id":162028468,"number":69,"title":"Invalid left-hand side in assignment","user":{"login":"xavdid","id":1231935,"avatar_url":"https://avatars.githubusercontent.com/u/1231935?v=3","gravatar_id":"","url":"https://api.github.com/users/xavdid","html_url":"https://github.com/xavdid","followers_url":"https://api.github.com/users/xavdid/followers","following_url":"https://api.github.com/users/xavdid/following{/other_user}","gists_url":"https://api.github.com/users/xavdid/gists{/gist_id}","starred_url":"https://api.github.com/users/xavdid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavdid/subscriptions","organizations_url":"https://api.github.com/users/xavdid/orgs","repos_url":"https://api.github.com/users/xavdid/repos","events_url":"https://api.github.com/users/xavdid/events{/privacy}","received_events_url":"https://api.github.com/users/xavdid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-23T21:33:14Z","updated_at":"2016-06-23T22:25:13Z","closed_at":null,"body":"Hey guys! The when I require the module, I'm getting what looks like a syntax error? \r\n\r\n```bash\r\n% node\r\n> let cli = require('heroku-cli-util')\r\n/Users/david/projects/heroku-config/node_modules/heroku-cli-util/lib/action.js:16\r\n  if (options.then) [options, promise] = [{}, options]\r\n                    ^^^^^^^^^^^^^^^^^^\r\nReferenceError: Invalid left-hand side in assignment\r\n    at exports.runInThisContext (vm.js:53:16)\r\n    at Module._compile (module.js:387:25)\r\n    at Object.Module._extensions..js (module.js:422:10)\r\n    at Module.load (module.js:357:32)\r\n    at Function.Module._load (module.js:314:12)\r\n    at Module.require (module.js:367:17)\r\n    at require (internal/module.js:16:19)\r\n    at Object.<anonymous> (/Users/david/projects/heroku-config/node_modules/heroku-cli-util/index.js:11:18)\r\n    at Module._compile (module.js:413:34)\r\n    at Object.Module._extensions..js (module.js:422:10)\r\n```\r\n\r\n__Versions__\r\nNode: `5.7.1`\r\nheroku-cli-util: `6.0.13`\r\n\r\nFor now I'll just downgrade, but I thought it's something you might be interested in. Thanks!\r\n\r\n__Edit__: The last version without this error is `6.0.3`."},"comment":{"url":"https://api.github.com/repos/heroku/heroku-cli-util/issues/comments/228204134","html_url":"https://github.com/heroku/heroku-cli-util/issues/69#issuecomment-228204134","issue_url":"https://api.github.com/repos/heroku/heroku-cli-util/issues/69","id":228204134,"user":{"login":"dickeyxxx","id":216188,"avatar_url":"https://avatars.githubusercontent.com/u/216188?v=3","gravatar_id":"","url":"https://api.github.com/users/dickeyxxx","html_url":"https://github.com/dickeyxxx","followers_url":"https://api.github.com/users/dickeyxxx/followers","following_url":"https://api.github.com/users/dickeyxxx/following{/other_user}","gists_url":"https://api.github.com/users/dickeyxxx/gists{/gist_id}","starred_url":"https://api.github.com/users/dickeyxxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dickeyxxx/subscriptions","organizations_url":"https://api.github.com/users/dickeyxxx/orgs","repos_url":"https://api.github.com/users/dickeyxxx/repos","events_url":"https://api.github.com/users/dickeyxxx/events{/privacy}","received_events_url":"https://api.github.com/users/dickeyxxx/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T22:25:12Z","updated_at":"2016-06-23T22:25:12Z","body":"you need to update your node version"}}
{"actor":{"display_login":"dickeyxxx"}}