Skip to content

Commit

Permalink
fix: make sure to display the mutagen version update warning message (#…
Browse files Browse the repository at this point in the history
…6715)

The if condition was too strict, and mutagen changed the message
slightly
  • Loading branch information
stefreak authored Dec 12, 2024
1 parent 7fbe717 commit 9d971d2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/src/mutagen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
)
}

Expand Down

0 comments on commit 9d971d2

Please sign in to comment.