diff options
-rw-r--r-- | src/files.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
159 | // add globs to get file listing | 159 | // add globs to get file listing |
160 | if (result.isDirectory()) absoluteFilePath += '/**'; | 160 | if (result.isDirectory()) absoluteFilePath += '/**'; |
161 | 161 | ||
162 | rm(absoluteFilePath, { dryRun: dryRun }).then(function (result) { | 162 | rm(absoluteFilePath, { dryRun: dryRun, force: true }).then(function (result) { |
163 | result = result.map(removeBasePath); | 163 | result = result.map(removeBasePath); |
164 | next(new HttpSuccess(200, { entries: result })); | 164 | next(new HttpSuccess(200, { entries: result })); |
165 | }, function (error) { | 165 | }, function (error) { |