(args)
| 73 | } |
| 74 | |
| 75 | async execWorkspaces (args) { |
| 76 | // If they either ask for nothing, or explicitly include '.' in the args, we effectively translate that into each workspace requested |
| 77 | const useWorkspaces = args.length === 0 || args.includes('.') |
| 78 | |
| 79 | if (!useWorkspaces) { |
| 80 | log.warn('Ignoring workspaces for specified package(s)') |
| 81 | return this.exec(args) |
| 82 | } |
| 83 | |
| 84 | await this.setWorkspaces() |
| 85 | return this.exec([...this.workspacePaths, ...args.filter(a => a !== '.')]) |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | module.exports = Pack |
nothing calls this directly
no test coverage detected