From 5e9a1a64c7be485ea24c026335c68faf947641ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Guitaut?= Date: Wed, 9 Apr 2025 12:04:44 +0200 Subject: [PATCH] DEV: Fix the error message from the deprecated icon handler The string was written as a JS one (using ``), but in Ruby this syntax tries to execute the string as a command on the host system. --- lib/deprecated_icon_handler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/deprecated_icon_handler.rb b/lib/deprecated_icon_handler.rb index 48eaac66704..846e8881814 100644 --- a/lib/deprecated_icon_handler.rb +++ b/lib/deprecated_icon_handler.rb @@ -688,7 +688,7 @@ module DeprecatedIconHandler if icon_name != new_name error_msg = - `Missing icon error: The icon name "#{icon_name}" has been removed and should be updated to "#{new_name}" in your code. More info at https://meta.discourse.org/t/325349.` + "Missing icon error: The icon name \"#{icon_name}\" has been removed and should be updated to \"#{new_name}\" in your code. More info at https://meta.discourse.org/t/325349." Rails.logger.error(error_msg)