Skip to content

Commit 9748d33

Browse files
isaekenactions-user
authored andcommitted
Fix styling
1 parent f74c3c3 commit 9748d33

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/ThemeSystem.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,10 @@ public function publish(string $name, bool $symlink = true, bool $relative = fal
226226

227227
if ($relative) {
228228
File::relativeLink($targetAssetPath, $themeAssetPath);
229-
}
230-
else {
229+
} else {
231230
File::link($themeAssetPath, $targetAssetPath);
232231
}
233-
}
234-
else {
232+
} else {
235233
throw_if(is_link($targetAssetPath), 'RuntimeException', "The [$targetAssetPath] link already exists.");
236234

237235
if (is_dir($targetAssetPath)) {

0 commit comments

Comments
 (0)