Skip to content

Commit

Permalink
build(release): compiled action for 1.0.3
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
semantic-release-bot committed Aug 3, 2020
1 parent a2009e6 commit cffe858
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1117,6 +1117,11 @@ function toTokenAuthentication({

async function getInstallationAuthentication(state, options, customRequest) {
const installationId = options.installationId || state.installationId;

if (typeof installationId !== "number") {
throw new Error("[@octokit/auth-app] installationId option is required for installation authentication.");
}

const optionsWithInstallationTokenFromState = Object.assign({
installationId
}, options);
Expand Down Expand Up @@ -1326,7 +1331,7 @@ async function sendRequestWithRetries(request, options, createdAt, retries = 0)
}
}

const VERSION = "2.4.10";
const VERSION = "2.4.11";

const createAppAuth = function createAppAuth(options) {
const state = Object.assign({
Expand Down

0 comments on commit cffe858

Please sign in to comment.