Skip to content

Commit 5d8561f

Browse files
committed
adding flag and possibility to call feature checker
1 parent 42a8cbc commit 5d8561f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/github/feature_flags_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ func HelloWorldTool(t translations.TranslationHelperFunc) inventory.ServerTool {
4444
// Check feature flag to determine greeting style
4545
greeting := "Hello, world!"
4646
if deps.IsFeatureEnabled(ctx, RemoteMCPEnthusiasticGreeting) {
47-
greeting = greeting + " Welcome to the future of MCP! 🎉"
47+
greeting += " Welcome to the future of MCP! 🎉"
4848
}
4949
if deps.GetFlags().Experimental {
50-
greeting = greeting + " Experimental features are enabled! 🚀"
50+
greeting += " Experimental features are enabled! 🚀"
5151
}
5252

5353
// Build response

0 commit comments

Comments
 (0)