From ad2aa6d4f8a41bd4be3765b04efc032dbb638e1c Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 30 Jan 2026 13:38:50 +0000 Subject: [PATCH] Accept expected diagnostic output --- .../diag_nuget_config_casing/diagnostics.expected | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/csharp/ql/integration-tests/linux/diag_nuget_config_casing/diagnostics.expected b/csharp/ql/integration-tests/linux/diag_nuget_config_casing/diagnostics.expected index f53cd8e1598..063a2659f86 100644 --- a/csharp/ql/integration-tests/linux/diag_nuget_config_casing/diagnostics.expected +++ b/csharp/ql/integration-tests/linux/diag_nuget_config_casing/diagnostics.expected @@ -26,3 +26,17 @@ "telemetry": true } } +{ + "markdownMessage": "On platforms with case-sensitive file systems, NuGet only accepts files with one of the following names: nuget.config, NuGet.config, NuGet.Config.\n\nCodeQL found the following files while performing an analysis on a platform with a case-sensitive file system:\n\n- `/sub-project/Nuget.Config`\n\nTo avoid unexpected results, rename these files to match the casing of one of the accepted filenames.", + "severity": "warning", + "source": { + "extractorName": "csharp", + "id": "csharp/autobuilder/buildless/case-sensitive-nuget-config", + "name": "Found NuGet configuration files which are not correctly named" + }, + "visibility": { + "cliSummaryTable": true, + "statusPage": true, + "telemetry": true + } +}