mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:11:49 +00:00
sg: fix cheeky message formatting (#50669)
I waited long enough to see that this formatting string was broken. Did you know the `fmt` package could take explicit argument indexes in its format string? I didn't until I waited 10 minutes for `otel-collector` to build. ## Test plan N/A <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles -->
This commit is contained in:
parent
e20017e1e3
commit
df74999810
@ -327,7 +327,7 @@ func (c *cmdRunner) waitForInstallation(ctx context.Context, cmdNames map[string
|
||||
"At this point it could be anything - does your computer still have power?",
|
||||
"Might as well check Slack. %s is taking its time...",
|
||||
"In German there's a saying: ein guter Käse braucht seine Zeit - a good cheese needs its time. Maybe %s is cheese?",
|
||||
"If %s turns out to be cheese I'm gonna lose it. Hey, %s, hurry up, will ya",
|
||||
"If %[1]s turns out to be cheese I'm gonna lose it. Hey, %[1]s, hurry up, will ya",
|
||||
"Still waiting for %s to finish installing...",
|
||||
}
|
||||
messageCount := 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user