Skip to content

Commit 9b53f8d

Browse files
authored
fix: update validateHyvaTheme to include output parameter (#99)
1 parent 3e11ae7 commit 9b53f8d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Console/Command/Theme/TokensCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected function executeCommand(InputInterface $input, OutputInterface $output
6666
return Cli::RETURN_FAILURE;
6767
}
6868

69-
$themePath = $this->validateHyvaTheme($themeCode);
69+
$themePath = $this->validateHyvaTheme($themeCode, $output);
7070
if ($themePath === null) {
7171
return Cli::RETURN_FAILURE;
7272
}
@@ -112,7 +112,7 @@ private function selectTheme(?string $themeCode): ?string
112112
}
113113
}
114114

115-
private function validateHyvaTheme(string $themeCode): ?string
115+
private function validateHyvaTheme(string $themeCode, OutputInterface $output): ?string
116116
{
117117
$themePath = $this->themePath->getPath($themeCode);
118118
if ($themePath === null) {

0 commit comments

Comments
 (0)