mirror of
https://github.com/pestphp/pest.git
synced 2026-06-05 10:52:14 +02:00
wip
This commit is contained in:
@ -1579,7 +1579,7 @@ final class Tia implements AddsOutput, HandlesArguments, Terminable
|
||||
}
|
||||
|
||||
if (! Fingerprint::structuralMatches($fetched->fingerprint(), $current)) {
|
||||
$this->renderBadge('WARN', 'Fetched baseline still drifts — discarding.');
|
||||
$this->output->writeln(' <fg=gray> However, fetched baseline still drifts — discarding.</>');
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@ -69,6 +69,11 @@ final readonly class BaselineSync
|
||||
$this->output->writeln(sprintf(' <fg=gray>─ %s</>', $text));
|
||||
}
|
||||
|
||||
private function renderChildContinuation(string $text): void
|
||||
{
|
||||
$this->output->writeln(sprintf(' <fg=gray> %s</>', $text));
|
||||
}
|
||||
|
||||
public function fetchIfAvailable(string $projectRoot, bool $force = false, bool $hasAnchor = false): bool
|
||||
{
|
||||
$repo = $this->detectGitHubRepo($projectRoot);
|
||||
@ -109,10 +114,7 @@ final readonly class BaselineSync
|
||||
|
||||
$this->clearCooldown();
|
||||
|
||||
$this->renderBadge('INFO', sprintf(
|
||||
'Baseline ready (%s).',
|
||||
$this->formatSize($payload['sizeOnDisk']),
|
||||
));
|
||||
$this->renderChildContinuation('Baseline ready');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user