()
| 40 | } |
| 41 | |
| 42 | function updateSharedTransforms () { |
| 43 | ;[] |
| 44 | .concat(opts.post || []) |
| 45 | .concat(opts.p || []) |
| 46 | .forEach(function (post) { |
| 47 | post = Array.isArray(post) ? post : [post] |
| 48 | var name = post[0] |
| 49 | var opts = post[1] || {} |
| 50 | sharedPosts.push({ name: name, opts: opts, base: process.cwd() }) |
| 51 | }) |
| 52 | |
| 53 | return [] |
| 54 | .concat(opts.transform || []) |
| 55 | .concat(opts.t || []) |
| 56 | .filter(function (tr) { |
| 57 | var name = tr[0] |
| 58 | var opts = tr[1] || {} |
| 59 | if (!opts.post) return true |
| 60 | sharedPosts.push({ name: name, opts: opts, base: process.cwd() }) |
| 61 | }) |
| 62 | } |
| 63 | |
| 64 | var d = duplexify() |
| 65 | var out = from(function () {}) |
no outgoing calls
no test coverage detected
searching dependent graphs…