JRJurman / excalidraw-to-svg

Node Library to transform excalidraw diagrams into svgs!
11 stars 4 forks source link

Promise not awaited #1

Closed Timmmm closed 1 year ago

Timmmm commented 2 years ago

Hi, thanks for the nice project. There are a couple of easy bugs in it though:

In cli.js excalidrawToSVG() returns a Promise but then you don't actually await it.

JRJurman commented 2 years ago

Thanks for catching this! When the API changed to be Promise based, I hadn't re-verified the cli interface. I should probably write a test to verify that that functionality works 😅.

JRJurman commented 1 year ago

This has been resolved as part of v3.0.1