forked from waja/action-debian-package
8 lines
180 B
JavaScript
8 lines
180 B
JavaScript
|
export default function _pipeP(f, g) {
|
||
|
return function () {
|
||
|
var ctx = this;
|
||
|
return f.apply(ctx, arguments).then(function (x) {
|
||
|
return g.call(ctx, x);
|
||
|
});
|
||
|
};
|
||
|
}
|