Skip to content

Commit

Permalink
build(release): compiled action for 1.1.27
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
semantic-release-bot committed Dec 14, 2020
1 parent d820d98 commit 3640e9e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ const getAppStats = __webpack_require__(766);
main();

async function main() {
const id = core.getInput("id", { required: true });
const appId = core.getInput("id", { required: true });
const privateKey = core
.getInput("private_key", { required: true })
.replace(/\\n/g, "\n");
Expand All @@ -348,7 +348,7 @@ async function main() {
popularRepositories,
suspendedInstallations,
} = await getAppStats({
id,
appId,
privateKey,
});
core.setOutput("installations", installations);
Expand Down Expand Up @@ -9861,11 +9861,11 @@ module.exports = getAppStats;

const Octokit = __webpack_require__(414);

async function getAppStats({ id, privateKey }) {
async function getAppStats({ appId, privateKey }) {
try {
const octokit = new Octokit({
auth: {
id,
appId,
privateKey,
},
});
Expand Down Expand Up @@ -9899,7 +9899,7 @@ async function getAppStats({ id, privateKey }) {

const installationOctokit = new Octokit({
auth: {
id,
appId,
privateKey,
installationId: installation.id,
},
Expand Down

0 comments on commit 3640e9e

Please sign in to comment.