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
123 124 125 126 127 |
# File 'lib/beaker/options/validator.rb', line 123 def validate_files(file_list, path) if file_list.empty? validator_error("No files found for path: '#{path}'") end end |