Sha256: c74986b19730e6f9f0caef1ff246031748fab8d8d65863f71aa7516a8245e9e9
Contents?: true
Size: 352 Bytes
Versions: 2
Compression:
Stored size: 352 Bytes
Contents
PuppetLint.new_check(:appends) do def check tokens.each_with_index do |token, token_idx| if token.type == :APPENDS notify :warning, { :message => 'The appends (+=) operator was used.', :line => token.line, :column => token.column, :token => token, } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
puppet-lint-appends-check-1.0.0 | lib/puppet-lint/plugins/check_appends.rb |
puppet-lint-appends-check-0.1.0 | lib/puppet-lint/plugins/check_appends.rb |