lib/pdk/util/puppet_strings.rb in pdk-2.6.1 vs lib/pdk/util/puppet_strings.rb in pdk-2.7.0
- old
+ new
@@ -20,11 +20,11 @@
argv = [File.join(PDK::Util.module_root, 'bin', 'puppet')] + args
argv.unshift(File.join(PDK::Util::RubyVersion.bin_path, 'ruby.exe')) if Gem.win_platform?
command = PDK::CLI::Exec::Command.new(*argv).tap do |c|
c.context = :module
- c.add_spinner(_('Examining module contents'))
+ c.add_spinner('Examining module contents')
end
command.execute!
end
@@ -42,10 +42,10 @@
raise RunError, result[:stderr] unless result[:exit_code].zero?
JSON.parse(result[:stdout])
rescue JSON::ParserError => e
PDK.logger.debug(e)
- raise RunError, _('Unable to parse puppet-strings output')
+ raise RunError, 'Unable to parse puppet-strings output'
end
# Searches the puppet-strings result to find the definition of the named
# object.
#