Skip to content

Commit

Permalink
fix: remove unnecessary item_path definition in delete fs api
Browse files Browse the repository at this point in the history
jelveh committed Dec 13, 2024
1 parent 06aeae5 commit c792f4a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/backend/src/routers/filesystem_api/delete.js
Original file line number Diff line number Diff line change
@@ -51,7 +51,6 @@ module.exports = eggspress('/delete', {
// try to delete each path in the array one by one (if glob, resolve first)
// TODO: remove this pseudo-batch
for ( const item_path of paths ) {
let item_path = item_path;
const target = await (new FSNodeParam('path')).consolidate({
req: { fs: req.fs, user },
getParam: () => item_path,

0 comments on commit c792f4a

Please sign in to comment.