Skip to content

Commit 67d3f40

Browse files
committed
Use --format and --out flags
puppet-strings removed the deprecated `emit_*` flags, so use the modern replacements. See puppetlabs/puppet-strings#329
1 parent 930525a commit 67d3f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet_references/puppet/strings.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def initialize(force_cached = false)
2323
def generate_strings_data
2424
puts 'Generating Puppet Strings JSON data...'
2525
rubyfiles = Dir.glob("#{PuppetReferences::PUPPET_DIR}/lib/puppet/**/*.rb")
26-
system("bundle exec puppet strings generate --emit-json #{STRINGS_JSON_FILE} #{rubyfiles.join(' ')}")
26+
system("bundle exec puppet strings generate --format json --out #{STRINGS_JSON_FILE} #{rubyfiles.join(' ')}")
2727
puts "Strings data: Done! (#{STRINGS_JSON_FILE})"
2828
@@strings_data_cached = true
2929
end

0 commit comments

Comments
 (0)