MCPcopy Create free account
hub / github.com/github/gh-aw / buildWarningAlertLine

Function buildWarningAlertLine

actions/setup/js/handle_agent_failure.cjs:77–79  ·  view source on GitHub ↗

* Build a GitHub markdown warning alert line. * @param {string} title * @param {string} message * @returns {string}

(title, message)

Source from the content-addressed store, hash-verified

75 * @returns {string}
76 */
77function buildWarningAlertLine(title, message) {
78 return `\n> [!WARNING]\n> **${title}**: ${message}\n`;
79}
80
81/**
82 * Render an allowed-files error using progressive disclosure for the file list.

Callers 10

buildMissingDataContextFunction · 0.85
buildMissingToolContextFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected