class NpmRestoreBlobStrategy extends BaseRestoreBlobStrategy<NpmRestoreBlobData> {

  @Override
  public void after(final boolean updateAssets, final Repository repository) {
    if (updateAssets) {
      npmRepairPackageRootComponent.repairRepository(repository);
    }
    else {
      log.info("Updating assets disabled so not running repair of npm package metadata");
    }
  }

  @Inject public  NpmRestoreBlobStrategy(final NodeAccess nodeAccess,
                                final RepositoryManager repositoryManager,
                                final BlobStoreManager blobStoreManager,
                                final DryRunPrefix dryRunPrefix,
                                final NpmRepairPackageRootComponent npmRepairPackageRootComponent);

}