Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/puppet/property.rb
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@

devfail "should for #{self.class.name} on #{resource.name} is not an array" unless @should.is_a?(Array)

if match_all?
if match_all? and ! (@should.one? and @should.first.instance_of? Puppet::Pops::Evaluator::DeferredValue)

Check failure on line 529 in lib/puppet/property.rb

View workflow job for this annotation

GitHub Actions / rubocop

Layout/SpaceAfterNot: Do not leave space between `!` and its argument. (https://rubystyle.guide#no-space-bang)

Check failure on line 529 in lib/puppet/property.rb

View workflow job for this annotation

GitHub Actions / AIO Package Rake Checks

Layout/SpaceAfterNot: Do not leave space between `!` and its argument. (https://rubystyle.guide#no-space-bang)
@should.collect { |val| unmunge(val) }
else
unmunge(@should[0])
Expand Down
Loading