From e90afd41771b60816d333617183440b2f2739043 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Tue, 1 Mar 2016 17:34:57 +0100 Subject: Use the force --- src/files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/files.js b/src/files.js index 68dfea3..8a4115f 100644 --- a/src/files.js +++ b/src/files.js @@ -159,7 +159,7 @@ function del(req, res, next) { // add globs to get file listing if (result.isDirectory()) absoluteFilePath += '/**'; - rm(absoluteFilePath, { dryRun: dryRun }).then(function (result) { + rm(absoluteFilePath, { dryRun: dryRun, force: true }).then(function (result) { result = result.map(removeBasePath); next(new HttpSuccess(200, { entries: result })); }, function (error) { -- cgit v1.2.3