We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96e4122 commit fec1244Copy full SHA for fec1244
lib/puppet-lint.rb
@@ -95,7 +95,7 @@ def file=(path)
95
96
# Check if the input is an SE Linux policy package file (which also use
97
# the .pp extension), which all have the first 4 bytes 0xf97cff8f.
98
- @code = '' if @code[0..3].unpack('V').first == 0xf97cff8f
+ @code = '' if @code[0..3].unpack1('V') == 0xf97cff8f
99
end
100
101
# Internal: Retrieve the format string to be used when writing problems to
0 commit comments