Skip to content

Commit

Permalink
(#855) Use correct namespace for external Bundler call
Browse files Browse the repository at this point in the history
  • Loading branch information
rodjek committed Feb 25, 2020
1 parent 918945b commit acde2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pdk/util/changelog_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module ChangelogGenerator
# Raises if the github_changelog_generator is not available
def self.github_changelog_generator_available!
require 'bundler'
raise PDK::CLI::ExitWithError, _('Unable to generate the changelog as the github_changelog_generator gem is not installed') unless Bundler.rubygems.find_name('github_changelog_generator').any?
raise PDK::CLI::ExitWithError, _('Unable to generate the changelog as the github_changelog_generator gem is not installed') unless ::Bundler.rubygems.find_name('github_changelog_generator').any?
end

# Runs the Changelog Generator gem (in the module's context) to automatically create a CHANGLELOG.MD file
Expand Down

0 comments on commit acde2cd

Please sign in to comment.