We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 915ed99 commit 522b2b1Copy full SHA for 522b2b1
internal/toolsnaps/toolsnaps.go
@@ -60,7 +60,7 @@ func Test(toolName string, tool any) error {
60
diff := toolNode.Diff(snapNode, jd.SET).Render()
61
if diff != "" {
62
// If there is a difference, we return an error with the diff
63
- return fmt.Errorf("tool schema for %s has changed unexpectedly:\n%s", toolName, diff)
+ return fmt.Errorf("tool schema for %s has changed unexpectedly:\n%s\nrun with `UPDATE_TOOLSNAPS=true` if this is expected", toolName, diff)
64
}
65
66
return nil
0 commit comments