Skip to content

Commit 6fed6c0

Browse files
Fix typos in
1 parent 2ac9f71 commit 6fed6c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/commands.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,9 +356,9 @@ export default {
356356
let newUri;
357357
if (uri.startsWith("content://com.termux.documents/tree/")) {
358358
// Special handling for Termux content files
359-
const newFilePath = Url.join(Url.dirname(url), newname);
359+
const newFilePath = Url.join(Url.dirname(uri), newname);
360360
const content = await fs.readFile();
361-
await fsOperation(Url.dirname(url)).createFile(newname, content);
361+
await fsOperation(Url.dirname(uri)).createFile(newname, content);
362362
await fs.delete();
363363
newUrl = newFilePath;
364364
} else {

0 commit comments

Comments
 (0)