Closed simpsonjoshua closed 2 years ago
There is a bug where having an empty worksheet crashes the parser, and the following error is thrown:
This occurs because desiredCells is undefined when the worksheet is empty. In cases like this we can return an empty array instead.
desiredCells
undefined
This also fixes: https://github.com/abelalvarez89/xlsx-parse-json/issues/10
There is a bug where having an empty worksheet crashes the parser, and the following error is thrown:
This occurs because
desiredCells
isundefined
when the worksheet is empty. In cases like this we can return an empty array instead.This also fixes: https://github.com/abelalvarez89/xlsx-parse-json/issues/10