Update .github/actions/check-codescanning-config/index.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Michael B. Gale
2025-09-22 13:11:32 +01:00
committed by GitHub
parent d46a178adb
commit 6bb4ad3009

View File

@@ -7,7 +7,7 @@ import * as assert from 'assert'
const actualConfig = loadActualConfig()
function sortConfigArrays(config) {
for (const key in Object.keys(config)) {
for (const key of Object.keys(config)) {
const value = config[key];
if (key === 'queries' && Array.isArray(value)) {
config[key] = value.sort();