📝 Docs: update documents

This commit is contained in:
萌萌哒赫萝
2023-08-22 05:14:23 -07:00
parent 16bc8ecbd6
commit 1dcf54f421
9 changed files with 120 additions and 118 deletions

View File

@@ -44,6 +44,7 @@ class SSHClient {
}
try {
remote = this.changeWinStylePathToUnix(remote)
if (remote === '/' || remote.includes('*')) return false
const script = `rm -f "${remote}"`
return await this.exec(script)
} catch (err: any) {