Skip to content

Commit

Permalink
fix: Correct parameter position
Browse files Browse the repository at this point in the history
  • Loading branch information
pcjun97 committed Aug 29, 2022
1 parent c63691d commit cd2fa3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10579,7 +10579,7 @@ function getArch() {
};
return mappings[arch] || arch;
}
async function getRelease(tag, token) {
async function getRelease(token, tag) {
try {
const octokit = new github.getOctokit(token);
let release;
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function getArch() {
return mappings[arch] || arch;
}

async function getRelease(tag, token) {
async function getRelease(token, tag) {
try {
const octokit = new github.getOctokit(token);

Expand Down

0 comments on commit cd2fa3e

Please sign in to comment.