We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, thanks for this library. Trying the example, when I run mosquitto_pub I get:
mosquitto_pub
/usr/local/lib/node_modules/mqtt-exec/mqtt-exec.js:59 var message = message.replace(/"/g, "\\\""); ^ TypeError: Object true has no method 'replace'
It looks like the message "true" becomes a buffer object and not a string. (<Buffer 74 72 75 65>)
<Buffer 74 72 75 65>
The text was updated successfully, but these errors were encountered:
This patch fixes this issue for me: #4
Sorry, something went wrong.
No branches or pull requests
Hi, thanks for this library.
Trying the example, when I run
mosquitto_pub
I get:It looks like the message "true" becomes a buffer object and not a string. (
<Buffer 74 72 75 65>
)The text was updated successfully, but these errors were encountered: