1
0
mirror of https://github.com/Minionguyjpro/Inno-Setup-Action synced 2026-02-18 17:41:18 +01:00

Create node_modules folder

This commit is contained in:
Minionguyjpro
2023-07-08 08:34:15 +00:00
parent beccd32062
commit 19e95e7930
416 changed files with 96683 additions and 0 deletions

14
node_modules/@octokit/auth-token/dist-src/index.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
import { auth } from "./auth";
import { hook } from "./hook";
export const createTokenAuth = function createTokenAuth(token) {
if (!token) {
throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");
}
if (typeof token !== "string") {
throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");
}
token = token.replace(/^(token|bearer) +/i, "");
return Object.assign(auth.bind(null, token), {
hook: hook.bind(null, token),
});
};