mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-10 22:21:11 +00:00
Add auth
This commit is contained in:
parent
fc9ff49b90
commit
5273d0df9c
391 changed files with 79850 additions and 45 deletions
9
node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js
generated
vendored
Normal file
9
node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js
generated
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
export function lowercaseKeys(object) {
|
||||
if (!object) {
|
||||
return {};
|
||||
}
|
||||
return Object.keys(object).reduce((newObj, key) => {
|
||||
newObj[key.toLowerCase()] = object[key];
|
||||
return newObj;
|
||||
}, {});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue