From ce79891e08f0bbbc2b55c6e9ae5021858f65a64b Mon Sep 17 00:00:00 2001 From: hramadan Date: Wed, 23 Aug 2023 09:13:04 -0700 Subject: [PATCH] Remove to_json We no longer need to turn the string into json. Currently that action is causing chars like quotes and newlines to show up. --- .github/workflows/scripts/slack_notifications/cve_notifier.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripts/slack_notifications/cve_notifier.rb b/.github/workflows/scripts/slack_notifications/cve_notifier.rb index 79b84b0c11..4b1a396ec2 100644 --- a/.github/workflows/scripts/slack_notifications/cve_notifier.rb +++ b/.github/workflows/scripts/slack_notifications/cve_notifier.rb @@ -29,7 +29,7 @@ def self.feed end def self.cve_message(title, url) - ":rotating_light: #{title}\n<#{url}|More info here>".to_json + ":rotating_light: #{title}\n<#{url}|More info here>" end end