You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File validation failed for /workspace/tests/assert_top_customers_has_five_rows.sql: File type application/sql is not supported. Only text files can be edited.
I think the mime type validation is way too strict and is triggering on lots of file types that are text.
Proposal is NOT to use the mime type and instead just check if the file is binary or not, via a library like binaryornot.
If the file is NOT binary, then treat it as text and allow the edit.
The text was updated successfully, but these errors were encountered:
Getting error:
I think the mime type validation is way too strict and is triggering on lots of file types that are text.
Proposal is NOT to use the mime type and instead just check if the file is binary or not, via a library like
binaryornot
.If the file is NOT binary, then treat it as text and allow the edit.
The text was updated successfully, but these errors were encountered: