Skip to content

Commit c792f4a

Browse files
committed
fix: remove unnecessary item_path definition in delete fs api
1 parent 06aeae5 commit c792f4a

File tree

1 file changed

+0
-1
lines changed
  • src/backend/src/routers/filesystem_api

1 file changed

+0
-1
lines changed

src/backend/src/routers/filesystem_api/delete.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ module.exports = eggspress('/delete', {
5151
// try to delete each path in the array one by one (if glob, resolve first)
5252
// TODO: remove this pseudo-batch
5353
for ( const item_path of paths ) {
54-
let item_path = item_path;
5554
const target = await (new FSNodeParam('path')).consolidate({
5655
req: { fs: req.fs, user },
5756
getParam: () => item_path,

0 commit comments

Comments
 (0)