mirror of
https://gh-proxy.org/https://github.com/softprops/action-gh-release.git
synced 2026-07-21 02:23:00 +08:00
vendor node_modules for release
This commit is contained in:
+9
@@ -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;
|
||||
}, {});
|
||||
}
|
||||
Reference in New Issue
Block a user