(options)
| 277 | } |
| 278 | |
| 279 | function assignSpawnWith(options) { |
| 280 | options.sourceDir = options.sourceDir || (file && file[0] !== '/' ? process.cwd() : '/'); |
| 281 | options.workingDir = options.workingDir || options.sourceDir; |
| 282 | options.spawnWith = { cwd: options.workingDir }; |
| 283 | return options; |
| 284 | } |
| 285 | |
| 286 | if (configs && configs.length) { |
| 287 | return configs.map(function (conf) { |