Skip to content

Commit 627a451

Browse files
committed
fix: no description
1 parent 6a7fb84 commit 627a451

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Install/GuidelineComposer.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,12 @@ protected function guideline(string $path, bool $thirdParty = false): array
287287

288288
$this->storedSnippets = []; // Clear for next use
289289

290-
$description = Str::of($rendered)->after('# ')->before("\n")->trim()
291-
->whenEmpty(fn () => 'No description provided')
290+
$description = Str::of($rendered)
291+
->after('# ')
292+
->before("\n")
293+
->trim()
292294
->limit(50, '...')
295+
->whenEmpty(fn () => 'No description provided')
293296
->value();
294297

295298
return [

0 commit comments

Comments
 (0)