Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
PUBLIC
/
surfer-okd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e90afd41
authored
Mar 01, 2016
by
Johannes Zellner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the force
1 parent
470f83e7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/files.js
src/files.js
View file @
e90afd4
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment