Commit e90afd41 by Johannes Zellner

Use the force

1 parent 470f83e7
Showing with 1 additions and 1 deletions
...@@ -159,7 +159,7 @@ function del(req, res, next) { ...@@ -159,7 +159,7 @@ function del(req, res, next) {
// add globs to get file listing // add globs to get file listing
if (result.isDirectory()) absoluteFilePath += '/**'; if (result.isDirectory()) absoluteFilePath += '/**';
rm(absoluteFilePath, { dryRun: dryRun }).then(function (result) { rm(absoluteFilePath, { dryRun: dryRun, force: true }).then(function (result) {
result = result.map(removeBasePath); result = result.map(removeBasePath);
next(new HttpSuccess(200, { entries: result })); next(new HttpSuccess(200, { entries: result }));
}, function (error) { }, function (error) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!