Skip to content

Commit 91aa182

Browse files
committed
C#: Fix TSP diagnostic message
1 parent 01a6c5e commit 91aa182

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ private BuildScript AddBuildlessStartedDiagnostic()
8888
AddDiagnostic(new DiagnosticMessage(
8989
Options.Language,
9090
"buildless/mode-active",
91-
"C# with build-mode set to 'none'",
91+
"C# was extracted with build-mode set to 'none'",
9292
visibility: new DiagnosticMessage.TspVisibility(statusPage: true, cliSummaryTable: true, telemetry: true),
93-
markdownMessage: "C# with build-mode set to 'none'. This means that all C# source in the working directory will be scanned, with build tools, such as Nuget and Dotnet CLIs, only contributing information about external dependencies.",
93+
markdownMessage: "C# was extracted with build-mode set to 'none'. This means that all C# source in the working directory will be scanned, with build tools, such as Nuget and Dotnet CLIs, only contributing information about external dependencies.",
9494
severity: DiagnosticMessage.TspSeverity.Note
9595
));
9696
return 0;

csharp/ql/integration-tests/all-platforms/standalone/diagnostics.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
}
1414
}
1515
{
16-
"markdownMessage": "C# with build-mode set to 'none'. This means that all C# source in the working directory will be scanned, with build tools, such as Nuget and Dotnet CLIs, only contributing information about external dependencies.",
16+
"markdownMessage": "C# was extracted with build-mode set to 'none'. This means that all C# source in the working directory will be scanned, with build tools, such as Nuget and Dotnet CLIs, only contributing information about external dependencies.",
1717
"severity": "note",
1818
"source": {
1919
"extractorName": "csharp",
2020
"id": "csharp/autobuilder/buildless/mode-active",
21-
"name": "C# with build-mode set to 'none'"
21+
"name": "C# was extracted with build-mode set to 'none'"
2222
},
2323
"visibility": {
2424
"cliSummaryTable": true,

csharp/ql/integration-tests/all-platforms/standalone_failed/diagnostics.expected

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
}
1414
}
1515
{
16-
"markdownMessage": "C# with build-mode set to 'none'. This means that all C# source in the working directory will be scanned, with build tools, such as Nuget and Dotnet CLIs, only contributing information about external dependencies.",
16+
"markdownMessage": "C# was extracted with build-mode set to 'none'. This means that all C# source in the working directory will be scanned, with build tools, such as Nuget and Dotnet CLIs, only contributing information about external dependencies.",
1717
"severity": "note",
1818
"source": {
1919
"extractorName": "csharp",
2020
"id": "csharp/autobuilder/buildless/mode-active",
21-
"name": "C# with build-mode set to 'none'"
21+
"name": "C# was extracted with build-mode set to 'none'"
2222
},
2323
"visibility": {
2424
"cliSummaryTable": true,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
}
1414
}
1515
{
16-
"markdownMessage": "C# with build-mode set to 'none'. This means that all C# source in the working directory will be scanned, with build tools, such as Nuget and Dotnet CLIs, only contributing information about external dependencies.",
16+
"markdownMessage": "C# was extracted with build-mode set to 'none'. This means that all C# source in the working directory will be scanned, with build tools, such as Nuget and Dotnet CLIs, only contributing information about external dependencies.",
1717
"severity": "note",
1818
"source": {
1919
"extractorName": "csharp",
2020
"id": "csharp/autobuilder/buildless/mode-active",
21-
"name": "C# with build-mode set to 'none'"
21+
"name": "C# was extracted with build-mode set to 'none'"
2222
},
2323
"visibility": {
2424
"cliSummaryTable": true,

0 commit comments

Comments
 (0)