mirror of
https://github.com/actions/setup-node.git
synced 2026-05-01 09:50:40 +03:00
new toolkit and scoped registries
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
export function omit(object, keysToOmit) {
|
||||
return Object.keys(object)
|
||||
.filter(option => !keysToOmit.includes(option))
|
||||
.reduce((obj, key) => {
|
||||
obj[key] = object[key];
|
||||
return obj;
|
||||
}, {});
|
||||
}
|
||||
Reference in New Issue
Block a user