MCPcopy
hub / github.com/meteor/meteor / warn

Method warn

tools/console/console.js:828–833  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

826 // wrapping it. For raw output (ex: stack traces, user logs, etc), use the
827 // rawWarn function. For more information about options, see: debug.
828 warn(...args) {
829 if (! this.isWarnEnabled()) { return; }
830
831 var message = this._prettifyMessage(args);
832 this._print(LEVEL_WARN, message);
833 }
834
835 rawError(...args) {
836 var message = this._format(args);

Callers 15

labelWarnMethod · 0.95
project-context.jsFile · 0.80
printWarningsIfNeededMethod · 0.80
main.jsFile · 0.80
doRunCommandFunction · 0.80
buildCommandFunction · 0.80
commands.jsFile · 0.80
deployCommandFunction · 0.80

Calls 3

isWarnEnabledMethod · 0.95
_prettifyMessageMethod · 0.95
_printMethod · 0.95

Tested by

no test coverage detected