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

View File

@@ -0,0 +1,11 @@
/**
* Prefix token for usage in the Authorization header
*
* @param token OAuth token or JSON Web Token
*/
export function withAuthorizationPrefix(token) {
if (token.split(/\./).length === 3) {
return `bearer ${token}`;
}
return `token ${token}`;
}