Skip to content

Commit

Permalink
Windows you too.
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseleite committed Nov 13, 2024
1 parent 4579dfd commit 34de160
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/StarterKits/RunPostInstallTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use Illuminate\Support\Facades\Http;
use PHPUnit\Framework\Attributes\Test;
use Statamic\Facades\Blink;
use Statamic\Facades\Path;
use Tests\Fakes\Composer\FakeComposer;
use Tests\TestCase;

Expand Down Expand Up @@ -107,12 +108,12 @@ public function it_errors_gracefully_if_starter_kit_package_doesnt_exist_in_vend

private function kitRepoPath($path = null)
{
return collect([base_path('repo/cool-runnings'), $path])->filter()->implode('/');
return Path::tidy(collect([base_path('repo/cool-runnings'), $path])->filter()->implode('/'));
}

protected function kitVendorPath($path = null)
{
return collect([base_path('vendor/statamic/cool-runnings'), $path])->filter()->implode('/');
return Path::tidy(collect([base_path('vendor/statamic/cool-runnings'), $path])->filter()->implode('/'));
}

private function prepareRepo()
Expand Down

0 comments on commit 34de160

Please sign in to comment.