(...args)
| 220 | } |
| 221 | |
| 222 | const npmLocal = async (...args) => { |
| 223 | const [{ force = false }] = getOpts(...args) |
| 224 | if (SMOKE_PUBLISH_TARBALL && !force) { |
| 225 | throw new Error('npmLocal cannot be called during smoke-publish') |
| 226 | } |
| 227 | return baseNpm({ |
| 228 | cwd: CLI_ROOT, |
| 229 | cmd: process.execPath, |
| 230 | argv: ['.'], |
| 231 | proxy: false, |
| 232 | }, ...args) |
| 233 | } |
| 234 | |
| 235 | const npmPath = async (...args) => baseNpm({ |
| 236 | cwd: paths.project, |
no test coverage detected