Skip to content

Commit

Permalink
fix notice helper to use detected version
Browse files Browse the repository at this point in the history
  • Loading branch information
kbukum1 committed Jan 2, 2025
1 parent bf2c7ad commit a5016a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/lib/dependabot/notices.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def self.generate_deprecation_notice(version_manager, version_manager_type = :pa
)
notice_type = "#{version_manager.name}_deprecated_warn"
title = version_manager_type == :language ? "Language deprecation notice" : "Package manager deprecation notice"
description = "Dependabot will stop supporting `#{version_manager.name} v#{version_manager.version}`!"
description = "Dependabot will stop supporting `#{version_manager.name} v#{version_manager.detected_version}`!"

## Add the supported versions to the description
description += "\n\n#{supported_versions_description}\n" unless supported_versions_description.empty?
Expand Down

0 comments on commit a5016a2

Please sign in to comment.