wubzz / pdf-merge

Merge multiple PDF Files into a single PDF document

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

process.platform === 'Darwin'

zimt28 opened this issue · comments

pdf-merge doesn't work on Mac, as the platform Darwin contains the string win. pdf-merge will ask for an absolute path for PDFtk.

Making sure process.platform/ os.platform() isn't Darwin should be enough (here).

commented

Thanks for reporting this. I've opted to go by os.type() instead, since the issue you described would also occur on other platforms.