We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e34511c + ae800e0 commit 0c073a8Copy full SHA for 0c073a8
src/Hook/Template/Docker.php
@@ -77,7 +77,9 @@ public function getCode(string $hook): string
77
'# read original hook stdIn to pass it in as --input option',
78
'input=$(cat)',
79
'',
80
- "if sh -c \": >/dev/tty\" >/dev/null 2>/dev/null; then\n\texec < /dev/tty\nfi",
+ 'if sh -c ": >/dev/tty" >/dev/null 2>/dev/null; then',
81
+ ' exec < /dev/tty',
82
+ 'fi',
83
84
$this->getOptimizeDockerCommand($hook) . ' '
85
. $this->resolveBinaryPath()
0 commit comments