mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-10 08:22:55 +00:00
fix(update): suppress internal handoff version warnings
This commit is contained in:
@@ -2950,7 +2950,10 @@ export async function updateCommand(opts: UpdateCommandOptions): Promise<void> {
|
||||
|
||||
process.env.OPENCLAW_COMPATIBILITY_HOST_VERSION = (await readPackageVersion(root)) ?? VERSION;
|
||||
|
||||
let postCoreConfigSnapshot = await readConfigFileSnapshot({ skipPluginValidation: true });
|
||||
let postCoreConfigSnapshot = await readConfigFileSnapshot({
|
||||
skipPluginValidation: true,
|
||||
suppressFutureVersionWarning: true,
|
||||
});
|
||||
const preUpdateSourceConfig = await readPostCorePreUpdateSourceConfig({
|
||||
sourceConfigPath: process.env[POST_CORE_UPDATE_SOURCE_CONFIG_PATH_ENV],
|
||||
currentSnapshot: postCoreConfigSnapshot,
|
||||
@@ -3416,7 +3419,10 @@ export async function updateCommand(opts: UpdateCommandOptions): Promise<void> {
|
||||
|
||||
let postUpdateConfigSnapshot =
|
||||
result.status === "ok" && !opts.dryRun
|
||||
? await readConfigFileSnapshot({ skipPluginValidation: true })
|
||||
? await readConfigFileSnapshot({
|
||||
skipPluginValidation: true,
|
||||
suppressFutureVersionWarning: shouldResumePostCoreInFreshProcess,
|
||||
})
|
||||
: configSnapshot;
|
||||
if (!shouldResumePostCoreInFreshProcess) {
|
||||
postUpdateConfigSnapshot = await persistRequestedUpdateChannel({
|
||||
|
||||
Reference in New Issue
Block a user