mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 08:09:19 +00:00
✨ feat: 完善更新提示
This commit is contained in:
parent
31eec68b6b
commit
5e95af2bd1
@ -167,14 +167,14 @@ export class update extends plugin {
|
||||
await this.reply(
|
||||
msg +
|
||||
`存在冲突:\n${errMsg}\n` +
|
||||
"请解决冲突后再更新,或者执行#强制更新,放弃本地修改",
|
||||
"请解决冲突后再更新,或者执行#R强制更新,放弃本地修改",
|
||||
);
|
||||
} else if (stdout.includes("CONFLICT")) {
|
||||
await this.reply([
|
||||
msg + "存在冲突\n",
|
||||
errMsg,
|
||||
stdout,
|
||||
"\n请解决冲突后再更新,或者执行#强制更新,放弃本地修改",
|
||||
"\n请解决冲突后再更新,或者执行#R强制更新,放弃本地修改",
|
||||
]);
|
||||
} else {
|
||||
await this.reply([errMsg, stdout]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user