Skip to content

Commit a8f7c7c

Browse files
committed
removing extra command output
1 parent 4c22402 commit a8f7c7c

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

src/Command/BuildDocsCommand.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
123123
$this->io->newLine(2);
124124

125125
$successMessage = 'Parse process complete';
126-
127-
if (!$this->buildContext->getDisableCache()) {
128-
$successMessage = sprintf(
129-
'%s (%d files were loaded from cache)',
130-
$successMessage,
131-
$this->finder->count() - count($this->builder->getDocuments()->getAll())
132-
);
133-
}
134126
$this->io->success($successMessage);
135127
}
136128

tests/Command/BuildDocsCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testBuildDocsFoo()
2929
]
3030
);
3131

32-
$this->assertContains('[OK] Parse process complete (0 files were loaded from cache)', $output);
32+
$this->assertContains('[OK] Parse process complete', $output);
3333

3434
$this->assertTrue($filesystem->exists(sprintf('%s/_images/symfony-logo.png', $outputDir)));
3535

@@ -40,7 +40,7 @@ public function testBuildDocsFoo()
4040
'output-dir' => $outputDir,
4141
]
4242
);
43-
$this->assertContains('[OK] Parse process complete (3 files were loaded from cache)', $output);
43+
$this->assertContains('[OK] Parse process complete', $output);
4444
}
4545

4646
public function testBuildDocsForPdf()

0 commit comments

Comments
 (0)