Skip to content

Commit 1ea91fb

Browse files
committed
fix: reorder variable assignments in addRepositoryWikiGitSubmodule method to fix tests on ci
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
1 parent d92f7d6 commit 1ea91fb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Command/SyncCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,15 +200,15 @@ private function copyDependabotConfig(): void
200200
*/
201201
private function addRepositoryWikiGitSubmodule(): void
202202
{
203-
$repositoryUrl = $this->getGitRepositoryUrl();
204-
205-
$wikiRepoUrl = str_replace('.git', '.wiki.git', $repositoryUrl);
206203
$wikiSubmodulePath = parent::getConfigFile('.github/wiki', true);
207204

208205
if ($this->filesystem->exists($wikiSubmodulePath)) {
209206
return;
210207
}
211208

209+
$repositoryUrl = $this->getGitRepositoryUrl();
210+
$wikiRepoUrl = str_replace('.git', '.wiki.git', $repositoryUrl);
211+
212212
$process = new Process([
213213
'git',
214214
'submodule',

0 commit comments

Comments
 (0)