# File lib/puppet-lint/plugins/check_strings.rb, line 156 def check tokens.select { |token| token.type == :SSTRING && token.value.start_with?('puppet://') }.reject { |token| token.value[/puppet:\/\/.*?\/(.+)/, 1].start_with?('modules/') }.each do |token| notify :warning, { :message => 'puppet:// URL without modules/ found', :line => token.line, :column => token.column, } end end