MCPcopy Index your code
hub / github.com/code-pushup/cli / warn

Method warn

packages/utils/src/lib/logger.ts:103–105  ·  view source on GitHub ↗

* Logs a warning to the console (yellow). * * Automatically adapts to logger state if called within task, group, etc. * * @example * logger.warn('Skipping invalid audits'); * * @param message Warning text * @param options Additional options

(message: string, options?: LogOptions)

Source from the content-addressed store, hash-verified

101 * @param options Additional options
102 */
103 warn(message: string, options?: LogOptions): void {
104 this.#log(message, 'yellow', options);
105 }
106
107 /**
108 * Logs an informational message to the console (unstyled).

Callers 15

logger-demo.tsFile · 0.80
ensureDirectoryExistsFunction · 0.80
loadNxProjectGraphFunction · 0.80
logger.int.test.tsFile · 0.80
getLatestCommitFunction · 0.80
getGitDefaultBranchFunction · 0.80
collectDiagnosticsFunction · 0.80
mergeDiffsFunction · 0.80
parseLcovFileFunction · 0.80
toContextFunction · 0.80
loadProjectGraphFunction · 0.80

Calls 1

#logMethod · 0.95

Tested by

no test coverage detected