Open pineapplemachine opened 4 years ago
So the cause of the error seems to be that the top-left cell is not (0, 0) but (1, 1); giving 0 for a cell coordinate causes the error. I imagine that this must be a common mistake - this really ought to produce a more informative error.
Appears to be a duplicate of #139
Describe the bug
Calling
workbook.writeToBuffer
on a trivial workbook causes an opaque unhandled promise rejection error.To Reproduce
Repro case. Error does not occur if commenting out the
worksheet.cell
line.Expected behavior
Function should succeed in writing data to a buffer.
Environment: