Skip to content

Commit

Permalink
Added default extension
Browse files Browse the repository at this point in the history
  • Loading branch information
hdf1996 committed Nov 15, 2019
1 parent 98957de commit e99c811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/DropZone.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class DropZone extends Component<Props, State> {
},
filePathAndName => {
fs.createReadStream(template).pipe(
fs.createWriteStream(filePathAndName)
fs.createWriteStream(`${filePathAndName}.csv`)
);
}
);
Expand Down

0 comments on commit e99c811

Please sign in to comment.