MCPcopy Create free account
hub / github.com/alibaba/open-code-review / warn

Function warn

scripts/github-actions/post-review-comments.js:1794–1797  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

1792 dryRun = false,
1793}) {
1794 const warn = (msg) => {
1795 if (core && typeof core.warning === "function") core.warning(msg);
1796 else log(msg);
1797 };
1798 // Fail closed on a finding this run produced but could not place in the tree:
1799 // no usable start/end line, or no path. `result.comments` comes straight from
1800 // the model's JSON with no normalization, so both are reachable. Either way

Callers 2

listBotReviewThreadsFunction · 0.70
resolveOutdatedThreadsFunction · 0.70

Calls 1

logFunction · 0.70

Tested by

no test coverage detected