diff --git a/src/utils/ofd/pipeline.js b/src/utils/ofd/pipeline.js index ac7bff6..6f94d18 100644 --- a/src/utils/ofd/pipeline.js +++ b/src/utils/ofd/pipeline.js @@ -18,7 +18,9 @@ Array.prototype.pipeline = async function(callback){ } return value; }; - +Object.defineProperty(Array.prototype, 'pipeline', { + enumerable: false +}); let _pipeline = function(...funcs){ return funcs.pipeline((a, b) => b.call(this, a)); }