Further standardize doc URL messages
Always say "see $URL for more information" without parentheses.
This commit is contained in:
parent
7ad1090882
commit
edfef2739a
18 changed files with 27 additions and 30 deletions
5
lib/codeql.js
generated
5
lib/codeql.js
generated
|
|
@ -42,6 +42,7 @@ const yaml = __importStar(require("js-yaml"));
|
|||
const semver = __importStar(require("semver"));
|
||||
const actions_util_1 = require("./actions-util");
|
||||
const cli_errors_1 = require("./cli-errors");
|
||||
const doc_url_1 = require("./doc-url");
|
||||
const environment_1 = require("./environment");
|
||||
const feature_flags_1 = require("./feature-flags");
|
||||
const setupCodeql = __importStar(require("./setup-codeql"));
|
||||
|
|
@ -360,9 +361,7 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
|||
if (config.buildMode === util_1.BuildMode.Autobuild) {
|
||||
const prefix = "We were unable to automatically build your code. " +
|
||||
"Please change the build mode for this language to manual and specify build steps " +
|
||||
"for your project. See " +
|
||||
"https://docs.github.com/en/code-security/code-scanning/troubleshooting-code-scanning/automatic-build-failed" +
|
||||
"for more information.";
|
||||
`for your project. See ${doc_url_1.DocUrl.AUTOMATIC_BUILD_FAILED} for more information.`;
|
||||
const ErrorConstructor = e instanceof util.ConfigurationError
|
||||
? util.ConfigurationError
|
||||
: Error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue