{"action":"created","issue":{"url":"https://api.github.com/repos/tomchentw/mocha-jscs/issues/3","labels_url":"https://api.github.com/repos/tomchentw/mocha-jscs/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/tomchentw/mocha-jscs/issues/3/comments","events_url":"https://api.github.com/repos/tomchentw/mocha-jscs/issues/3/events","html_url":"https://github.com/tomchentw/mocha-jscs/issues/3","id":71088712,"number":3,"title":"Cannot invoke JSCS on Windows","user":{"login":"brzpegasus","id":1691398,"avatar_url":"https://avatars.githubusercontent.com/u/1691398?v=3","gravatar_id":"","url":"https://api.github.com/users/brzpegasus","html_url":"https://github.com/brzpegasus","followers_url":"https://api.github.com/users/brzpegasus/followers","following_url":"https://api.github.com/users/brzpegasus/following{/other_user}","gists_url":"https://api.github.com/users/brzpegasus/gists{/gist_id}","starred_url":"https://api.github.com/users/brzpegasus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brzpegasus/subscriptions","organizations_url":"https://api.github.com/users/brzpegasus/orgs","repos_url":"https://api.github.com/users/brzpegasus/repos","events_url":"https://api.github.com/users/brzpegasus/events{/privacy}","received_events_url":"https://api.github.com/users/brzpegasus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-26T16:23:55Z","updated_at":"2015-04-29T14:23:02Z","closed_at":"2015-04-26T16:39:58Z","body":"The way JSCS is [invoked](https://github.com/dockyard/ember-suave/blob/v0.1.6/lib/rules/require-enhanced-object-literals.js#L7) is not Windows-friendly. Ultimately, it is because Windows doesn't understand the shebang line in [`jscs/bin/jscs`](https://github.com/jscs-dev/node-jscs/blob/v1.12.0/bin/jscs#L1):\r\n\r\n```javascript\r\n#!/usr/bin/env node\r\nvar cli = require('../lib/cli');\r\n// ...\r\n```\r\n\r\nThis causes all JSCS tests to fail with some non-useful, \"Uncaught\" error. The simplest thing to do might be to just invoke node and passing the path to the JSCS file."},"comment":{"url":"https://api.github.com/repos/tomchentw/mocha-jscs/issues/comments/97446293","html_url":"https://github.com/tomchentw/mocha-jscs/issues/3#issuecomment-97446293","issue_url":"https://api.github.com/repos/tomchentw/mocha-jscs/issues/3","id":97446293,"user":{"login":"tomchentw","id":922234,"avatar_url":"https://avatars.githubusercontent.com/u/922234?v=3","gravatar_id":"","url":"https://api.github.com/users/tomchentw","html_url":"https://github.com/tomchentw","followers_url":"https://api.github.com/users/tomchentw/followers","following_url":"https://api.github.com/users/tomchentw/following{/other_user}","gists_url":"https://api.github.com/users/tomchentw/gists{/gist_id}","starred_url":"https://api.github.com/users/tomchentw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomchentw/subscriptions","organizations_url":"https://api.github.com/users/tomchentw/orgs","repos_url":"https://api.github.com/users/tomchentw/repos","events_url":"https://api.github.com/users/tomchentw/events{/privacy}","received_events_url":"https://api.github.com/users/tomchentw/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T14:23:02Z","updated_at":"2015-04-29T14:23:02Z","body":"Released [v1.1.0](https://github.com/tomchentw/mocha-jscs/releases/tag/v1.1.0)."}}