Skip to content

Commit 3d3e2f7

Browse files
riasvdvactions-user
authored andcommitted
Fix styling
1 parent 2427a86 commit 3d3e2f7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/Shiki.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public function getWorkingDirPath(): string
8282
if (static::$customWorkingDirPath !== null && ($path = realpath(static::$customWorkingDirPath)) !== false) {
8383
return $path;
8484
}
85+
8586
return realpath(dirname(__DIR__) . '/bin');
8687
}
8788

tests/ShikiCustomRenderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use Spatie\ShikiPhp\Shiki;
44
use function Spatie\Snapshots\assertMatchesSnapshot;
55

6-
beforeEach(fn() => Shiki::setCustomWorkingDirPath(__DIR__ . '/testfiles/alt-bin'));
6+
beforeEach(fn () => Shiki::setCustomWorkingDirPath(__DIR__ . '/testfiles/alt-bin'));
77

88
it('can verify the custom CWD path and modify it', function () {
99
expect((new Shiki())->getWorkingDirPath())

tests/ShikiTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use Spatie\ShikiPhp\Shiki;
44
use function Spatie\Snapshots\assertMatchesSnapshot;
55

6-
beforeAll(fn() => Shiki::setCustomWorkingDirPath(null));
6+
beforeAll(fn () => Shiki::setCustomWorkingDirPath(null));
77

88
it('can get the default workingDirPath', function () {
99
expect((new Shiki())->getWorkingDirPath())

0 commit comments

Comments
 (0)