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 a443885 commit 92230aeCopy full SHA for 92230ae
src/Console/InitCommand.php
@@ -136,15 +136,15 @@ protected function prepareProjectPath(): string
136
}
137
138
if (\is_dir($path)) {
139
- $this->projectExists($io);
+ $this->projectExists($io, $path);
140
} else {
141
\mkdir($path, 0777, true);
142
143
144
return $path;
145
146
147
- protected function projectExists(Interactor $io)
+ protected function projectExists(Interactor $io, string $path)
148
{
149
if (!$this->force && !$this->sync) {
150
throw new InvalidArgumentException(
0 commit comments