scientist-softserv / adventist_knapsack

Apache License 2.0
1 stars 0 forks source link

🐛 Add safe navigation operator for nil mime types #672

Closed kirkkwang closed 3 weeks ago

kirkkwang commented 3 weeks ago

Some times we're seeing a file set come in with a nil mime type because something went wrong. This would break the viewer because we get a NoMethodError when trying to call include?. Adding the lonely operator here should prevent that from happening.