Skip to content

Commit

Permalink
fix: remove unnecessary owner/repo from uploadAsset
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg authored and gr2m committed Feb 18, 2018
1 parent 9ea2730 commit c8ab3fb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ module.exports = async (pluginConfig, {options: {branch, repositoryUrl}, nextRel

const fileName = asset.name || basename(filePath);
const upload = {
owner,
repo,
url: uploadUrl,
file: await readFile(filePath),
contentType: mime.getType(extname(fileName)) || 'text/plain',
Expand Down

0 comments on commit c8ab3fb

Please sign in to comment.