From 19e539d123ee0b378c1f7dad4ef82677f874fe33 Mon Sep 17 00:00:00 2001 From: 1Code-JS <196545093+1Code-JS@users.noreply.github.com> Date: Mon, 9 Jun 2025 19:45:02 +0200 Subject: [PATCH] Fix typos in commands.js --- src/lib/commands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/commands.js b/src/lib/commands.js index 55a2b9980..c44d74355 100644 --- a/src/lib/commands.js +++ b/src/lib/commands.js @@ -356,9 +356,9 @@ export default { let newUri; if (uri.startsWith("content://com.termux.documents/tree/")) { // Special handling for Termux content files - const newFilePath = Url.join(Url.dirname(url), newname); + const newFilePath = Url.join(Url.dirname(uri), newname); const content = await fs.readFile(); - await fsOperation(Url.dirname(url)).createFile(newname, content); + await fsOperation(Url.dirname(uri)).createFile(newname, content); await fs.delete(); newUrl = newFilePath; } else {