pkg: Fix bug #275
Bug:
Node.js v4 does not support the ES6 syntax fully, thus we
get the error:
Block scoped declarations (let, const, function,class) not yet
supported outside strict mode
Fix:
* Load transpiled code
* Deprecate support for Node.js v4.x
References:
* Bug report: https://github.com/yagop/node-telegram-bot-api/issues/275
* PR: https://github.com/yagop/node-telegram-bot-api/pull/280
* Reported-by: @crazyabdul
* PR-by: @crazyabdul
experimental
parent
7e4cadb514
commit
d4a469df6b
Loading…
Reference in new issue