Closed erkyrath closed 3 years ago
This is due to https://bugs.astron.com/view.php?id=170 Build and install file from https://github.com/file/file master, the issue is fixed there.
I'm interested in this fix too. @MarshallOfSound sorry for a random ping, but it looks like you're a big contributor here – do you think it would be possible to merge this fix (or mine in #16) and push a new release?
:tada: This PR is included in version 1.0.5 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
/usr/bin/file can return errors on MacOS. Honest! I ran into this with a
.wasm
file in my project:file
exits with a nonzero error code, and therefore the makeUniversalApp() call fails.This patch catches that case and swallows the error, effectively treating those files as unrecognized types -- thus PLAIN.