Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix multiple files upload in the same time with tempfile handler. #116

Merged
merged 5 commits into from
Feb 8, 2019

Conversation

RomanBurunkov
Copy link
Collaborator

@RomanBurunkov RomanBurunkov commented Feb 6, 2019

This PR fixes issue #113

It creates seaprate variable for write stream for each file upload, instead of using one shared.

Fix multiple files upload in the same time with temp files handler.
Fix multiple file upload in the same time
@coveralls
Copy link

coveralls commented Feb 6, 2019

Coverage Status

Coverage decreased (-0.09%) to 91.954% when pulling 9621857 on RomanBurunkov:master into 59534c5 on richardgirges:master.

Fix dir value expression, which probable came from some old version:
  const dir = options.tempFileDir || process.cwd() + '/tmp/';
insted of
  const dir = __dirname + (options.tempFileDir || '/tmp/');
Use path module to deal with paths to temp directory and temp files.
Change description about necessary trailing slashed in temporary files path.
@richardgirges
Copy link
Owner

Looks good @RomanBurunkov thank you!

@richardgirges richardgirges merged commit f9d7bbd into richardgirges:master Feb 8, 2019
RomanBurunkov added a commit to RomanBurunkov/express-fileupload that referenced this pull request Feb 11, 2019
Merge pull request richardgirges#116 from RomanBurunkov/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants