Skip to content

Commit

Permalink
One more path changed
Browse files Browse the repository at this point in the history
I left a path.
  • Loading branch information
fsanzv committed Feb 7, 2014
1 parent f367911 commit 9a7a4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module.exports = function(options) {
// trigger "file upload start" event
if (options.onFileUploadStart) { options.onFileUploadStart(file); }

var ws = fs.createWriteStream(path);
var ws = fs.createWriteStream(newFilePath);
fileStream.pipe(ws);

fileStream.on('data', function(data) {
Expand Down

0 comments on commit 9a7a4fc

Please sign in to comment.