HackMD/lib
Sheogorath 4e81079050
Fix broken PDF export by wrong unlink call
We used `fs.unlink()` to remove the pdf file after we send it out to the
client. This breaks in Node 10, when no function as second parameter is
supplied.

This patches changes it to the `fs.unlinkSync` function that doesn't
have this requirement and this way doesn't crash.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-01-24 13:02:53 +01:00
..
config Update upload provider error message 2018-12-21 15:30:06 +01:00
migrations Update error message text checks 2018-11-16 23:53:50 +01:00
models Switch scrypt library to a successor 2018-11-21 01:33:34 +01:00
ot Fix logging in ot module 2018-11-13 23:30:13 +01:00
web Fix usage of new URL API 2018-12-18 14:52:18 +01:00
workers refactor: Remove require extension filename 2017-05-08 19:29:06 +08:00
csp.js Merge pull request #1105 from SISheogorath/fix/gistCSP 2018-12-21 18:39:22 +01:00
history.js Further improvement of error handling for LZString 2018-07-27 15:42:58 +02:00
letter-avatars.js Remove blueimp-md5 dependency 2018-12-22 19:09:50 +01:00
logger.js Fix streaming for winston 2018-11-16 11:49:39 +01:00
realtime.js switching to eslint for code checking 2018-11-14 23:15:36 +01:00
response.js Fix broken PDF export by wrong unlink call 2019-01-24 13:02:53 +01:00
utils.js switch to __dirname 2017-06-02 11:34:35 +01:00