Skip to content

Commit

Permalink
Inline local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 3, 2022
1 parent fbae774 commit 5eccb8b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ protected function printSelectionInformation(): void

protected function saveTagsToDisk(): void
{
$filename = Hyde::path('tags.json');
$this->infoComment('Saving tag data to', DiscoveryService::createClickableFilepath($filename));
$this->infoComment('Saving tag data to', DiscoveryService::createClickableFilepath(Hyde::path('tags.json')));

Filesystem::putContents('tags.json', json_encode(array_merge(
PublicationService::getAllTags()->toArray(), $this->tags
Expand Down

0 comments on commit 5eccb8b

Please sign in to comment.