Check that src
is a string and throw useful error
#934
Labels
help wanted
L2 - annoying
Similar to L1 - broken but there is a known workaround available for the issue
Currently it prints
TypeError: src.replace is not a function
if you try to pass a buffer.Not very helpful.
Not the first who got confused: #867
The text was updated successfully, but these errors were encountered: