()
| 70 | // loaded lazily so every other CLI invocation skips its module graph. |
| 71 | let cachedSpawn: typeof nodeSpawn | undefined; |
| 72 | function defaultSpawn(): typeof nodeSpawn { |
| 73 | if (cachedSpawn === undefined) { |
| 74 | const require = createRequire(import.meta.url); |
| 75 | cachedSpawn = require('cross-spawn') as typeof nodeSpawn; |
| 76 | } |
| 77 | return cachedSpawn; |
| 78 | } |
| 79 | |
| 80 | interface WorksetCreateOptions { |
| 81 | member?: string[]; |
no outgoing calls
no test coverage detected