Closed theanam closed 4 years ago
LGTM, seems we missed that change by the serialport upgrade
@theanam it supports callback or promise
That I've noticed. but the library serialport
does not support callbacks anymore. try removing your node modules and lockfile and reinstall dependencies in your development environment and then try running the list
function in serialport-gsm
. It should throw and error.
I've checked it. Thank you @theanam !
Since the serialport library does not support callbacks in the list function, it causes the application to throw an error. I've replaced the list function to support the new promise based API