Skip to content

Commit

Permalink
Merge pull request #233 from instedd/fix/add-default-extension
Browse files Browse the repository at this point in the history
Added default extension
  • Loading branch information
Hugo David Farji authored Nov 15, 2019
2 parents 98957de + e99c811 commit 7581b38
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 7581b38

Please sign in to comment.