Method: Chef::Cookbook::SyntaxCheck#untested_ruby_files

Defined in:
lib/chef/cookbook/syntax_check.rb

#untested_ruby_filesObject



57
58
59
60
61
62
63
64
65
66
# File 'lib/chef/cookbook/syntax_check.rb', line 57

def untested_ruby_files
  ruby_files.reject do |file|
    if validated?(file)
      Chef::Log.debug("ruby file #{file} is unchanged, skipping syntax check")
      true
    else
      false
    end
  end
end