mirror of
https://github.com/Azure/setup-helm.git
synced 2026-07-09 09:41:37 +00:00
v3 new release (#80)
This commit is contained in:
committed by
GitHub
parent
a767c8d3a1
commit
20d2b4f98d
+10
@@ -0,0 +1,10 @@
|
||||
var partial = require('./partial.js');
|
||||
|
||||
// Returns the first function passed as an argument to the second,
|
||||
// allowing you to adjust arguments, run code before and after, and
|
||||
// conditionally execute the original function.
|
||||
function wrap(func, wrapper) {
|
||||
return partial(wrapper, func);
|
||||
}
|
||||
|
||||
module.exports = wrap;
|
||||
Reference in New Issue
Block a user