From 6d16fc2629773d6f8808b771c922982b3a9a4dd1 Mon Sep 17 00:00:00 2001 From: zhiyu1998 Date: Wed, 15 Feb 2023 15:03:00 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20#R=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/update.js b/apps/update.js index fcbcaf1..23b476d 100644 --- a/apps/update.js +++ b/apps/update.js @@ -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` }