From e99c811b8272e668d240549944b4331bc65732a0 Mon Sep 17 00:00:00 2001 From: hdf1986 Date: Fri, 15 Nov 2019 09:29:25 -0300 Subject: [PATCH] Added default extension --- app/components/DropZone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/DropZone.js b/app/components/DropZone.js index 1801ac2..79e7514 100644 --- a/app/components/DropZone.js +++ b/app/components/DropZone.js @@ -80,7 +80,7 @@ class DropZone extends Component { }, filePathAndName => { fs.createReadStream(template).pipe( - fs.createWriteStream(filePathAndName) + fs.createWriteStream(`${filePathAndName}.csv`) ); } );