NathanaelA / fluentreports

:page_facing_up: Fluent Reports - Data Driven Reporting Engine for Node.js and Browsers :page_facing_up:
https://fluentreports.com
MIT License
375 stars 84 forks source link

[FRG] Fix async print function adding done() when it shouldn’t #252

Closed gillsonkell closed 3 years ago

gillsonkell commented 3 years ago

When I make a print function with this code: report.print('Hello, world!', undefined, done); it gets converted to this: report.print('Hello, world!', done);; done(); so I have to do this instead: report.print('Hello, world!', undefined, () => done());

NathanaelA commented 3 years ago

This will be fixed in the next version.