Skip to content

Commit

Permalink
validate: give hint on how to regenerate outdated REFERENCE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kenyon authored Feb 27, 2024
1 parent 5a8acde commit d750e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet-strings/tasks/validate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
existing = File.read(filename)

if generated != existing
warn "#{filename} is outdated"
warn "#{filename} is outdated; to regenerate: bundle exec rake strings:generate:reference"

Check warning on line 37 in lib/puppet-strings/tasks/validate.rb

View check run for this annotation

Codecov / codecov/patch

lib/puppet-strings/tasks/validate.rb#L37

Added line #L37 was not covered by tests
exit 1
end
end
Expand Down

0 comments on commit d750e54

Please sign in to comment.