Method: FIR::Util::ClassMethods#check_supported_file
- Defined in:
- lib/fir/util.rb
#check_supported_file(path) ⇒ Object
51 52 53 54 55 56 |
# File 'lib/fir/util.rb', line 51 def check_supported_file(path) return if APP_FILE_TYPE.include?(File.extname(path)) logger.error 'Unsupported file type' exit 1 end |