palashkulsh/jira-cmd

TypeError: Cannot read property 'join' of undefined

Closed this issue · 1 comments

.npm-global/lib/node_modules/cmd-jira/lib/jira/describe.js:48
return console.log(res.body.errorMessages.join('\n'));

Please change
describe.js:48
return console.log(res.body.errorMessages.join('\n'));
to
return console.log((res.body.errorMessages || [res.error]).join('\n'));

Done. Thanks @prath-devops