GetStream / stream-cli

Configure & manage Stream applications from the command line. 🚀
https://yarnpkg.com/en/package/getstream-cli
BSD 3-Clause "New" or "Revised" License
85 stars 19 forks source link

Fix exit for debug token #32

Closed ferhatelmas closed 4 years ago

ferhatelmas commented 4 years ago

On success, EEXIT error with exit:0 is thrown so correct output is written and logged as error.

Updated logic only on debug:token command, probably other commands also need to be updated accordingly.

Related to https://github.com/GetStream/stream-chat-js/issues/313

ferhatelmas commented 4 years ago

Also, for your information, it's not working in node 13 due to missing @babel/compat-data/corejs3-shipped-proposals. It might be upstream issue though.