MCPcopy Index your code
hub / github.com/coder/coder / warnf

Function warnf

scripts/releaser/ui.go:16–18  ·  view source on GitHub ↗

warnf prints a yellow warning to stderr.

(w io.Writer, format string, args ...any)

Source from the content-addressed store, hash-verified

14
15// warnf prints a yellow warning to stderr.
16func warnf(w io.Writer, format string, args ...any) {
17 pretty.Fprintf(w, cliui.DefaultStyles.Warn, outputPrefix+format+"\n", args...)
18}
19
20// infof prints a cyan info message to stderr.
21func infof(w io.Writer, format string, args ...any) {

Callers 3

runReleaseFunction · 0.70
promptAndUpdateDocsFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected