gltfjsx icon indicating copy to clipboard operation
gltfjsx copied to clipboard

prevent empty file from being added when file path doesn't match

Open dataseyo opened this issue 3 years ago • 0 comments

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

dataseyo avatar Jan 27 '23 20:01 dataseyo