Skip to content

Commit

Permalink
chore(feed): add success message after generating feed
Browse files Browse the repository at this point in the history
- Add success message after generating feed
  • Loading branch information
guanguans committed Apr 11, 2024
1 parent 329df4e commit f7261e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion app/Commands/FeedCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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!'));
}

/**
Expand Down

0 comments on commit f7261e3

Please sign in to comment.