Describe the bug
MjmlAdapter always produces undefined html with latest version of mjml because of incorrect promise handling.
To Reproduce
Just try to use the MjmlAdapter as described by the documentation (npm install mjml installs the latest version).
Expected behavior
Expect the adapter to work with the latest version of mjml.
Additional context
The problem is at mjml.adapter.ts#L42. Latest version of mjml2html returns a promise.
Describe the bug
MjmlAdapteralways produces undefined html with latest version ofmjmlbecause of incorrect promise handling.To Reproduce
Just try to use the
MjmlAdapteras described by the documentation (npm install mjmlinstalls the latest version).Expected behavior
Expect the adapter to work with the latest version of
mjml.Additional context
The problem is at mjml.adapter.ts#L42. Latest version of
mjml2htmlreturns a promise.