Husky commit correct node modules

This commit is contained in:
stCarolas committed 2019-12-07 16:09:23 +03:00
1 parent c66179d93e
commit 10de3d4c54
607 files changed
+136508

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
module.exports = removeHook
function removeHook (state, name, method) {
if (!state.registry[name]) {
return
}
var index = state.registry[name]
.map(function (registered) { return registered.orig })
.indexOf(method)
if (index === -1) {
return
}
state.registry[name].splice(index, 1)
}