Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Conversation

@cgdobre
Copy link
Collaborator

@cgdobre cgdobre commented Sep 7, 2018

Added support for XLSX output for reports

@coveralls
Copy link

coveralls commented Sep 7, 2018

Coverage Status

Coverage remained the same at 67.368% when pulling 4a741d4 on cgdobre:add-report-output-xlsx into 181d0dd on kriskbx:master.

@kriskbx
Copy link
Owner

kriskbx commented Sep 8, 2018

Wow! Awesome job, this is really great. Thank you so much for this contribution! <3
I found a tiny bug in your code, can you fix that? I will merge your PR immediately afterwards. :)

XLSX.utils.book_append_sheet(workbook, this.xlsxRecords, 'Records');
}

XLSX.writeFile(workbook, fileName + extName);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fileName = path.basename() already contains the extension, so you get a double extension when saving files. Can you remove extName completely?

@cgdobre
Copy link
Collaborator Author

cgdobre commented Sep 8, 2018

Fixed. Thanks for pointing that out!

@kriskbx kriskbx merged commit 4be59a6 into kriskbx:master Sep 8, 2018
@kriskbx
Copy link
Owner

kriskbx commented Sep 8, 2018

I just released version 1.7.26 which includes your addition. Thank you very much!

@cgdobre
Copy link
Collaborator Author

cgdobre commented Sep 8, 2018

Awesome! thanks for the quick handling!

@cgdobre cgdobre deleted the add-report-output-xlsx branch September 8, 2018 15:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants