Skip to content

Commit 8ef6ea3

Browse files
committed
CmsBootstrap - Fix debug message
This looks like a copy-paste error. A few lines above, it prints `Options: $this->options`. It makes more sense for the subsequent statement to print`CMS: $cms`.
1 parent 7b6943f commit 8ef6ea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CmsBootstrap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function bootCms() {
130130
$cms = $this->findCmsRoot($this->getSearchDir());
131131
}
132132

133-
$this->writeln("CMS: " . json_encode($this->options, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES), OutputInterface::VERBOSITY_DEBUG);
133+
$this->writeln("CMS: " . json_encode($cms, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES), OutputInterface::VERBOSITY_DEBUG);
134134
if (empty($cms['path']) || empty($cms['type']) || !file_exists($cms['path'])) {
135135
$cmsJson = json_encode($cms, JSON_UNESCAPED_SLASHES);
136136
throw new \Exception("Failed to parse or find a CMS $cmsJson");

0 commit comments

Comments
 (0)