gltfjsx
gltfjsx copied to clipboard
prevent empty file from being added when file path doesn't match
Added a fs.existsSync() check before stream is created to prevent an empty .jsx file from being added when a user calls gltfjsx on a file that doesn't exist (or gets the path wrong).
- only added three lines of code, but the indenting changed
This addresses #184