Skip to content
This repository has been archived by the owner on Feb 27, 2019. It is now read-only.

Commit

Permalink
fix curl file upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiip committed Jul 20, 2016
1 parent 64cdef6 commit af0010b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function githubUploadRequest(partialUrl, params) {
'-H', `Authorization: token ${process.env.GITHUB_TOKEN}`,
'-H', `Content-Type: application/zip`,
'-X', params.method,
'--data-binary', params.filePath,
'--data-binary', `@${params.filePath}`,
githubUploadUrl + partialUrl
]);
}
Expand Down

0 comments on commit af0010b

Please sign in to comment.