From 9d971d255dd7d0c3ba4a4a585ca5562c5a652a87 Mon Sep 17 00:00:00 2001 From: Steffen Neubauer Date: Thu, 12 Dec 2024 18:40:48 +0100 Subject: [PATCH] fix: make sure to display the mutagen version update warning message (#6715) The if condition was too strict, and mutagen changed the message slightly --- core/src/mutagen.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/src/mutagen.ts b/core/src/mutagen.ts index 0cf3dc9a91..6ccec70854 100644 --- a/core/src/mutagen.ts +++ b/core/src/mutagen.ts @@ -565,9 +565,7 @@ export class Mutagen { // 1. the old sync daemon is stopped // 2. the target deploy action is not redeployed with the new sync machinery, // and `sync start` command is used - msg.includes( - "unable to connect to beta: unable to connect to endpoint: unable to dial agent endpoint: version handshake error: version mismatch" - ) + msg.includes("version mismatch") ) }