From 3d8472e880b7c9856f3724c7bf04932197bbc6ea Mon Sep 17 00:00:00 2001 From: Rick Hanlon Date: Mon, 18 Mar 2024 21:11:06 -0400 Subject: [PATCH] Fix lint --- scripts/flags/flags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/flags/flags.js b/scripts/flags/flags.js index e9485e4412ce9..50d263cd498ef 100644 --- a/scripts/flags/flags.js +++ b/scripts/flags/flags.js @@ -406,7 +406,7 @@ if (argv.csv) { `Flag name, ${FLAG_COLUMNS.join(', ')}`, ...Object.keys(table).map(flag => { const row = sorted[flag]; - return `${flag}, ${FLAG_COLUMNS.map(flag => row[flag]).join(', ')}`; + return `${flag}, ${FLAG_COLUMNS.map(col => row[col]).join(', ')}`; }), ]; fs.writeFile('./flags.csv', csvRows.join('\n'), function (err) {