We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5690b1d commit 7d83045Copy full SHA for 7d83045
src/ComposerPlugin.php
@@ -172,7 +172,7 @@ private function runCaptainCommand(string $command): void
172
173
// captainhook config and repository settings
174
$configuration = ' -c ' . $this->configuration;
175
- $repository = ' -g ' . $this->gitDirectory;
+ $repository = $command === self::COMMAND_INSTALL ? ' -g ' . $this->gitDirectory : '';
176
$skip = $command === self::COMMAND_INSTALL ? ' -s' : '';
177
178
// sub process settings
0 commit comments