(self)
| 389 | |
| 390 | class TargetsCheck(BaseCommand): |
| 391 | def run(self): |
| 392 | if skip_npm: |
| 393 | log.info('Skipping target checks') |
| 394 | return |
| 395 | missing = [t for t in targets if not os.path.exists(t)] |
| 396 | if missing: |
| 397 | raise ValueError(('missing files: %s' % missing)) |
| 398 | |
| 399 | return TargetsCheck |
| 400 |