aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/web.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/web.js b/lib/web.js
index 1d10693..7036e53 100644
--- a/lib/web.js
+++ b/lib/web.js
@@ -61,7 +61,7 @@ function handleConvert(request, response, next) {
next();
})
.fin(function() {
- fs.unlink(documentPath);
+ return q.nfcall(fs.unlink, documentPath);
});
}