moleculerjs / moleculer-repl

REPL module for Moleculer framework
http://moleculer.services/docs/moleculer-repl.html
MIT License
27 stars 25 forks source link

[question] Why stream content in REPL mode passed as string? #30

Closed nbvehbq closed 5 years ago

nbvehbq commented 5 years ago

https://github.com/moleculerjs/moleculer-repl/blob/4462eaa68a02b2cf7dc536cb29f857e898f39724/src/commands/call.js#L65

In my opinion, when you transfer a file through stream it content must be Buffer not String... The second parameter may be just a typo?

icebob commented 5 years ago

Yes, it's true. Could you send a PR?