Sha256: aa7b96ced0395aa474041378e2a11e4037748bb6c54a011b31c953c461866149
Contents?: true
Size: 372 Bytes
Versions: 4
Compression:
Stored size: 372 Bytes
Contents
module CC module Analyzer module IssueValidations class PathExistenceValidation < Validation def valid? File.exist?(path) end def message "File does not exist: '#{path}'" end private def path object.fetch("location", {}).fetch("path", "") end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems