{"action":"created","issue":{"url":"https://api.github.com/repos/kangax/html-minifier/issues/454","labels_url":"https://api.github.com/repos/kangax/html-minifier/issues/454/labels{/name}","comments_url":"https://api.github.com/repos/kangax/html-minifier/issues/454/comments","events_url":"https://api.github.com/repos/kangax/html-minifier/issues/454/events","html_url":"https://github.com/kangax/html-minifier/issues/454","id":124568672,"number":454,"title":"\"ReferenceError: status not defined\" crash in node 5.3.0","user":{"login":"prashcr","id":7514066,"avatar_url":"https://avatars.githubusercontent.com/u/7514066?v=3","gravatar_id":"","url":"https://api.github.com/users/prashcr","html_url":"https://github.com/prashcr","followers_url":"https://api.github.com/users/prashcr/followers","following_url":"https://api.github.com/users/prashcr/following{/other_user}","gists_url":"https://api.github.com/users/prashcr/gists{/gist_id}","starred_url":"https://api.github.com/users/prashcr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prashcr/subscriptions","organizations_url":"https://api.github.com/users/prashcr/orgs","repos_url":"https://api.github.com/users/prashcr/repos","events_url":"https://api.github.com/users/prashcr/events{/privacy}","received_events_url":"https://api.github.com/users/prashcr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-02T00:38:46Z","updated_at":"2016-01-04T20:15:32Z","closed_at":null,"body":"Same build process has worked and still works fine for me in node 5.1.0.  \r\n  \r\n`html-minifier` version: v1.0.0  \r\nRunning on OS X 10.11.2\r\n  \r\n```\r\njade -p /Users/prashanthcr/code/surge/hkustakpsi/src/includes < src/contact.jade | \\\r\n\thtml-minifier -o build/contact.html --conservative-collapse --collapse-whitespace --remove-comments\r\n/Users/prashanthcr/.nvm/versions/node/v5.3.0/lib/node_modules/html-minifier/cli.js:346\r\n  cli.exit(status);\r\n           ^\r\n\r\nReferenceError: status is not defined\r\n    at Object.<anonymous> (/Users/prashanthcr/.nvm/versions/node/v5.3.0/lib/node_modules/html-minifier/cli.js:346:12)\r\n    at after (/Users/prashanthcr/.nvm/versions/node/v5.3.0/lib/node_modules/html-minifier/node_modules/cli/cli.js:1057:18)\r\n    at Object.cli.main (/Users/prashanthcr/.nvm/versions/node/v5.3.0/lib/node_modules/html-minifier/node_modules/cli/cli.js:1062:9)\r\n    at Object.<anonymous> (/Users/prashanthcr/.nvm/versions/node/v5.3.0/lib/node_modules/html-minifier/cli.js:106:5)\r\n    at Module._compile (module.js:398:26)\r\n    at Object.Module._extensions..js (module.js:405:10)\r\n    at Module.load (module.js:344:32)\r\n    at Function.Module._load (module.js:301:12)\r\n    at Function.Module.runMain (module.js:430:10)\r\n    at startup (node.js:141:18)\r\nevents.js:141\r\n      throw er; // Unhandled 'error' event\r\n      ^\r\n\r\nError: write EPIPE\r\n    at Object.exports._errnoException (util.js:855:11)\r\n    at exports._exceptionWithHostPort (util.js:878:20)\r\n    at WriteWrap.afterWrite (net.js:763:14)\r\nmake: *** [build/contact.html] Error 1\r\n```"},"comment":{"url":"https://api.github.com/repos/kangax/html-minifier/issues/comments/168792515","html_url":"https://github.com/kangax/html-minifier/issues/454#issuecomment-168792515","issue_url":"https://api.github.com/repos/kangax/html-minifier/issues/454","id":168792515,"user":{"login":"stevenvachon","id":170197,"avatar_url":"https://avatars.githubusercontent.com/u/170197?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenvachon","html_url":"https://github.com/stevenvachon","followers_url":"https://api.github.com/users/stevenvachon/followers","following_url":"https://api.github.com/users/stevenvachon/following{/other_user}","gists_url":"https://api.github.com/users/stevenvachon/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenvachon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenvachon/subscriptions","organizations_url":"https://api.github.com/users/stevenvachon/orgs","repos_url":"https://api.github.com/users/stevenvachon/repos","events_url":"https://api.github.com/users/stevenvachon/events{/privacy}","received_events_url":"https://api.github.com/users/stevenvachon/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T20:15:32Z","updated_at":"2016-01-04T20:15:32Z","body":"+1"}}