Method: Beaker::Options::Validator#validate_files
- Defined in:
- lib/beaker/options/validator.rb
#validate_files(file_list, path) ⇒ Object
Raise an error if file_list is empty
129 130 131 132 133 |
# File 'lib/beaker/options/validator.rb', line 129 def validate_files(file_list, path) if file_list.empty? validator_error("No files found for path: '#{path}'") end end |