linnovate/mean-cli — pull request #45 by sybarite (2014-10-07 12:38:46+00:00)
Title: Remove duplicate call to npm outdated

The mean status call breaks due to the duplicate call as the list param returns empty the second time. This fixes the TypeError: Cannot read property '3' of undefined error when doing mean status

Full stack trace
TypeError: Cannot read property '3' of undefined
at /usr/local/lib/node_modules/mean-cli/lib/cli.js:134:21
at /usr/local/lib/node_modules/mean-cli/node_modules/npm/lib/outdated.js:42:51
at cb (/usr/local/lib/node_modules/mean-cli/node_modules/npm/node_modules/slide/lib/async-map.js:48:11)
at cb (/usr/local/lib/node_modules/mean-cli/node_modules/npm/node_modules/slide/lib/async-map.js:48:11)
at cb (/usr/local/lib/node_modules/mean-cli/node_modules/npm/node_modules/slide/lib/async-map.js:48:11)
at cb (/usr/local/lib/node_modules/mean-cli/node_modules/npm/node_modules/slide/lib/async-map.js:48:11)
at asyncMap (/usr/local/lib/node_modules/mean-cli/node_modules/npm/node_modules/slide/lib/async-map.js:27:18)
at next (/usr/local/lib/node_modules/mean-cli/node_modules/npm/lib/outdated.js:235:5)
at /usr/local/lib/node_modules/mean-cli/node_modules/npm/lib/outdated.js:198:14
at ReaddirReq.Req.done (/usr/local/lib/node_modules/mean-cli/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:141:5)