mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-05-13 03:34:20 +00:00
remove node_modules
This commit is contained in:
parent
c7638c8893
commit
60358a145c
444 changed files with 0 additions and 83958 deletions
17
node_modules/before-after-hook/lib/remove.js
generated
vendored
17
node_modules/before-after-hook/lib/remove.js
generated
vendored
|
@ -1,17 +0,0 @@
|
|||
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)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue