Sha256: 8019b3f89bb84c5369a0906c00250fb1abcaaf6532806c3d6721f08895dcd762
Contents?: true
Size: 323 Bytes
Versions: 1
Compression:
Stored size: 323 Bytes
Contents
PuppetLint.new_check(:appends) do def check tokens.each_with_index do |token, _token_idx| next unless token.type == :APPENDS notify :warning, { message: 'The appends (+=) operator was used.', line: token.line, column: token.column, token: token, } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
puppet-lint-appends-check-2.0.0 | lib/puppet-lint/plugins/check_appends.rb |