Skip to content

Commit 1454890

Browse files
committed
C#: Add new paragraphs before call to action
1 parent 1394abc commit 1454890

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

csharp/autobuilder/Semmle.Autobuild.CSharp/CSharpAutobuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ protected override void AutobuildFailureDiagnostic()
104104
markdownMessage:
105105
"CodeQL found multiple potential build scripts for your project and " +
106106
$"attempted to run `{relScriptPath}`, which failed. " +
107-
"This may not be the right build script for your project. " +
107+
"This may not be the right build script for your project.\n\n" +
108108
$"Set up a [manual build command]({buildCommandDocsUrl})."
109109
) :
110110
new(
@@ -113,7 +113,7 @@ protected override void AutobuildFailureDiagnostic()
113113
"Unable to build project using build script",
114114
markdownMessage:
115115
"CodeQL attempted to build your project using a script located at " +
116-
$"`{relScriptPath}`, which failed. " +
116+
$"`{relScriptPath}`, which failed.\n\n" +
117117
$"Set up a [manual build command]({buildCommandDocsUrl})."
118118
);
119119

csharp/ql/integration-tests/posix-only/diag_autobuild_script/diagnostics.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"attributes": {},
33
"helpLinks": [],
44
"internal": false,
5-
"markdownMessage": "CodeQL attempted to build your project using a script located at `build.sh`, which failed. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
5+
"markdownMessage": "CodeQL attempted to build your project using a script located at `build.sh`, which failed.\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
66
"severity": "error",
77
"source": {
88
"extractorName": "csharp",
@@ -19,7 +19,7 @@
1919
"attributes": {},
2020
"helpLinks": [],
2121
"internal": false,
22-
"markdownMessage": "CodeQL could not find any project or solution files in your repository. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
22+
"markdownMessage": "CodeQL could not find any project or solution files in your repository.\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
2323
"severity": "error",
2424
"source": {
2525
"extractorName": "csharp",

csharp/ql/integration-tests/posix-only/diag_multiple_scripts/diagnostics.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"attributes": {},
33
"helpLinks": [],
44
"internal": false,
5-
"markdownMessage": "CodeQL could not find any project or solution files in your repository. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
5+
"markdownMessage": "CodeQL could not find any project or solution files in your repository.\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
66
"severity": "error",
77
"source": {
88
"extractorName": "csharp",
@@ -19,7 +19,7 @@
1919
"attributes": {},
2020
"helpLinks": [],
2121
"internal": false,
22-
"markdownMessage": "CodeQL found multiple potential build scripts for your project and attempted to run `build.sh`, which failed. This may not be the right build script for your project. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
22+
"markdownMessage": "CodeQL found multiple potential build scripts for your project and attempted to run `build.sh`, which failed. This may not be the right build script for your project.\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
2323
"severity": "error",
2424
"source": {
2525
"extractorName": "csharp",

csharp/ql/integration-tests/windows-only/diag_autobuild_script/diagnostics.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"attributes": {},
33
"helpLinks": [],
44
"internal": false,
5-
"markdownMessage": "CodeQL attempted to build your project using a script located at `build.bat`, which failed. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
5+
"markdownMessage": "CodeQL attempted to build your project using a script located at `build.bat`, which failed.\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
66
"severity": "error",
77
"source": {
88
"extractorName": "csharp",
@@ -19,7 +19,7 @@
1919
"attributes": {},
2020
"helpLinks": [],
2121
"internal": false,
22-
"markdownMessage": "CodeQL could not find any project or solution files in your repository. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
22+
"markdownMessage": "CodeQL could not find any project or solution files in your repository.\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
2323
"severity": "error",
2424
"source": {
2525
"extractorName": "csharp",

csharp/ql/integration-tests/windows-only/diag_multiple_scripts/diagnostics.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"attributes": {},
33
"helpLinks": [],
44
"internal": false,
5-
"markdownMessage": "CodeQL could not find any project or solution files in your repository. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
5+
"markdownMessage": "CodeQL could not find any project or solution files in your repository.\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
66
"severity": "error",
77
"source": {
88
"extractorName": "csharp",
@@ -19,7 +19,7 @@
1919
"attributes": {},
2020
"helpLinks": [],
2121
"internal": false,
22-
"markdownMessage": "CodeQL found multiple potential build scripts for your project and attempted to run `build.bat`, which failed. This may not be the right build script for your project. Set up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
22+
"markdownMessage": "CodeQL found multiple potential build scripts for your project and attempted to run `build.bat`, which failed. This may not be the right build script for your project.\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
2323
"severity": "error",
2424
"source": {
2525
"extractorName": "csharp",

0 commit comments

Comments
 (0)