Feature: add notification for single rename of manage page

This commit is contained in:
萌萌哒赫萝
2023-08-21 01:38:52 -07:00
parent e89b3ca6d1
commit 19f2b18a6a
8 changed files with 13 additions and 11 deletions

View File

@@ -43,7 +43,7 @@ class SSHClient {
}
try {
remote = this.changeWinStylePathToUnix(remote)
const script = `rm -f ${remote}`
const script = `rm -f "${remote}"`
return await this.exec(script)
} catch (err: any) {
return false