Skip to content

Commit

Permalink
Fix style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianfeldmann committed Oct 16, 2023
1 parent 24bd228 commit 01a1e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hook/Template/Docker.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function getCode(string $hook): string
$path2Config = $this->pathInfo->getConfigPath();
$config = $path2Config !== CH::CONFIG ? ' --configuration=' . escapeshellarg($path2Config) : '';
$bootstrap = !empty($this->config->getBootstrap()) ? ' --bootstrap=' . $this->config->getBootstrap() : '';
$tty = Hooks::allowsUserInput($hook)
$tty = Hooks::allowsUserInput($hook)
? "if sh -c \": >/dev/tty\" >/dev/null 2>/dev/null; then\n\texec < /dev/tty\nfi"
: '';

Expand Down

0 comments on commit 01a1e81

Please sign in to comment.