{"action":"closed","issue":{"url":"https://api.github.com/repos/tabrindle/envinfo/issues/52","repository_url":"https://api.github.com/repos/tabrindle/envinfo","labels_url":"https://api.github.com/repos/tabrindle/envinfo/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/tabrindle/envinfo/issues/52/comments","events_url":"https://api.github.com/repos/tabrindle/envinfo/issues/52/events","html_url":"https://github.com/tabrindle/envinfo/issues/52","id":348128286,"node_id":"MDU6SXNzdWUzNDgxMjgyODY=","number":52,"title":"versionInfo is null on Manjaro","user":{"login":"zacanger","id":12520493,"node_id":"MDQ6VXNlcjEyNTIwNDkz","avatar_url":"https://avatars3.githubusercontent.com/u/12520493?v=4","gravatar_id":"","url":"https://api.github.com/users/zacanger","html_url":"https://github.com/zacanger","followers_url":"https://api.github.com/users/zacanger/followers","following_url":"https://api.github.com/users/zacanger/following{/other_user}","gists_url":"https://api.github.com/users/zacanger/gists{/gist_id}","starred_url":"https://api.github.com/users/zacanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacanger/subscriptions","organizations_url":"https://api.github.com/users/zacanger/orgs","repos_url":"https://api.github.com/users/zacanger/repos","events_url":"https://api.github.com/users/zacanger/events{/privacy}","received_events_url":"https://api.github.com/users/zacanger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-07T00:52:03Z","updated_at":"2018-08-07T01:25:20Z","closed_at":"2018-08-07T01:25:20Z","author_association":"NONE","body":"Cloned from master to debug.\r\n\r\n```[:~/Downloads/envinfo] master(+1/-0)* ± cat /etc/os-release\r\nNAME=\"Manjaro Linux\"\r\nID=manjaro\r\nPRETTY_NAME=\"Manjaro Linux\"\r\nANSI_COLOR=\"1;32\"\r\nHOME_URL=\"https://www.manjaro.org/\"\r\nSUPPORT_URL=\"https://www.manjaro.org/\"\r\nBUG_REPORT_URL=\"https://bugs.manjaro.org/\"\r\n[:~/Downloads/envinfo] master(+1/-0)* ±\r\n\r\n[:~/Downloads/envinfo] master(+1/-0)* ± node src/cli.js\r\n(node:10691) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '1' of null\r\n    at utils.run.then.v (/home/z/Downloads/envinfo/src/helpers.js:297:43)\r\n(node:10691) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)\r\n(node:10691) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not\r\nhandled will terminate the Node.js process with a non-zero exit code.\r\n[:~/Downloads/envinfo] master(+1/-0)* ±\r\n```\r\n\r\nReplacing line 295 of helpers with `const versionInfo = (v || '').match(/VERSION=\"(.+)\"/) || [];` fixes the issue:\r\n\r\n```\r\n[:~/Downloads/envinfo] master(+1/-1)* ± node src/cli.js\r\n\r\n  System:\r\n    OS: Linux 4.14 Manjaro Linux undefined\r\n    CPU: x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz\r\n    Memory: 26.39 GB / 31.30 GB\r\n    Container: Yes\r\n    Shell: 4.4.23 - /bin/bash\r\n  Binaries:\r\n    Node: 10.7.0 - /usr/local/bin/node\r\n    npm: 6.2.0 - /usr/local/bin/npm\r\n  Utilities:\r\n    CMake: 3.11.4 - /usr/bin/cmake\r\n    Make: 4.2.1 - /usr/bin/make\r\n    GCC: 8.1.1 - /usr/bin/gcc\r\n    Git: 2.18.0 - /usr/bin/git\r\n  Virtualization:\r\n    Docker: 18.05.0 - /usr/bin/docker\r\n  IDEs:\r\n    Nano: 2.9.8 - /usr/bin/nano\r\n    Vim: 8.1 - /usr/bin/vim\r\n  Languages:\r\n    Bash: 4.4.23 - /usr/bin/bash\r\n    Go: 1.10.3 - /usr/bin/go\r\n    Perl: 5.26.2 - /usr/bin/perl\r\n    PHP: 7.2.7 - /usr/bin/php\r\n    Python: 3.6.6 - /usr/bin/python\r\n    Ruby: 2.5.1 - /usr/bin/ruby\r\n  Databases:\r\n    SQLite: 3.24.0 - /usr/bin/sqlite3\r\n\r\n[:~/Downloads/envinfo] master(+1/-1)* ±\r\n```\r\n\r\nI'd be happy to open a PR."}}
{"actor":{"display_login":"zacanger"}}