diff --git a/README.md b/README.md index 836b775597e..3685767f849 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![lint markdown](https://github.com/guanguans/favorite-link/actions/workflows/lint-md.yml/badge.svg)](https://github.com/guanguans/favorite-link/actions/workflows/lint-md.yml) [![feed](https://github.com/guanguans/favorite-link/actions/workflows/feed.yml/badge.svg)](https://github.com/guanguans/favorite-link/actions/workflows/feed.yml) -## 订阅连接 +## 订阅 * [README.rss](https://raw.githubusercontent.com/guanguans/favorite-link/master/README.rss) * [README.atom](https://raw.githubusercontent.com/guanguans/favorite-link/master/README.atom) diff --git a/app/Commands/FeedCommand.php b/app/Commands/FeedCommand.php index 19bf8347e2a..8440c5fd9d7 100644 --- a/app/Commands/FeedCommand.php +++ b/app/Commands/FeedCommand.php @@ -80,7 +80,8 @@ static function (Collection $carry, string $line) use (&$date): Collection { $feed->setFeedLink("https://raw.githubusercontent.com/guanguans/favorite-link/master/$name", $type); File::put(base_path($name), $feed->export($type)); } - }); + }) + ->tap(fn () => $this->output->success('Feed is done!')); } /**