diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-03-30 22:03:34 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-03-30 22:03:34 +0000 |
| commit | 500261b4dc62024ead038bbda6a0d3325e657573 (patch) | |
| tree | e55f131b570f04a584b785ed0a0b04f1bbe04f73 /lib/web.js | |
| parent | 26f7cefe6379e9b76f5bb1963433a6832a55caa6 (diff) | |
Call fs.unlink using q
Diffstat (limited to 'lib/web.js')
| -rw-r--r-- | lib/web.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ function handleConvert(request, response, next) { next(); }) .fin(function() { - fs.unlink(documentPath); + return q.nfcall(fs.unlink, documentPath); }); } |
