| commit | 45402c102b6249ca798c11dab24b64940d90af7e | [log] [tgz] |
|---|---|---|
| author | Nikolay Vitkov <[email protected]> | Thu Apr 03 17:50:44 2025 |
| committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 04 08:40:20 2025 |
| tree | db3be8a977098ab47f2705948895cc7a3a87a44f | |
| parent | 3eb2f86f9e554082c452ff0c2bcfd46a6a3fa051 [diff] |
[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' + }`, ); } }