[eslint] Fix deprecation warning

Bug: none
Change-Id: Id6d1534aaaf10dd63057fbe337f9b22e67598f94
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6429835
Auto-Submit: Nikolay Vitkov <[email protected]>
Commit-Queue: Simon Zünd <[email protected]>
Reviewed-by: Simon Zünd <[email protected]>
diff --git a/scripts/test/run_lint_check.mjs b/scripts/test/run_lint_check.mjs
index 112ca59..aa04bd8 100644
--- a/scripts/test/run_lint_check.mjs
+++ b/scripts/test/run_lint_check.mjs
@@ -101,9 +101,11 @@
   );
   if (usedDeprecatedRules.length) {
     console.log('Used deprecated rules:');
-    for (const { ruleId, replaceBy } of usedDeprecatedRules) {
+    for (const { ruleId, replacedBy } of usedDeprecatedRules) {
       console.log(
-        ` Rule ${ruleId} can be replaced with ${replaceBy ?? 'none'}`,
+        ` Rule ${ruleId} can be replaced with ${
+          replacedBy.join(',') ?? 'none'
+        }`,
       );
     }
   }