🐞 fix: #R插件更新修复

This commit is contained in:
zhiyu1998 2023-02-15 15:03:00 +08:00
parent e62baceeb8
commit 6d16fc2629

View File

@ -59,7 +59,7 @@ export class update extends plugin {
let command = '';
if (isForce) {
command = `git checkout ./plugins/${pluginName}/ && git -C ./plugins/${pluginName}/ pull --no-rebase`
command = `git checkout . && git -C ./plugins/${pluginName}/ pull --no-rebase`
} else {
command = `git -C ./plugins/${pluginName}/ pull --no-rebase`
}