From 20999c6404c7529d8bf46e700fa18f8199ea8de9 Mon Sep 17 00:00:00 2001 From: Kelvin Tan Date: Wed, 14 Aug 2024 11:14:23 +0800 Subject: [PATCH] add deprecation id from DeprecatedOutletArgument --- lib/deprecation_collector/list.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/deprecation_collector/list.rb b/lib/deprecation_collector/list.rb index 12c1aa6..dec7770 100644 --- a/lib/deprecation_collector/list.rb +++ b/lib/deprecation_collector/list.rb @@ -7,7 +7,8 @@ module DeprecationCollector deprecations = YAML.load_file(DEPRECATION_IDS_FILE) List = - (deprecations["ember_deprecation_ids"] || []).concat( - deprecations["discourse_deprecation_ids"] || [], - ) + (deprecations["ember_deprecation_ids"] || []) + .concat(deprecations["discourse_deprecation_ids"] || []) + .concat(%w(discourse.plugin-connector.deprecated-arg.header-contents.topic)) + .uniq end