mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
Ignore lint warning (#5949)
This commit is contained in:
parent
398a516f03
commit
f1737f14dc
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ const rssOptionsValidator = z.object({
|
||||||
.or(globResultValidator)
|
.or(globResultValidator)
|
||||||
.transform((items) => {
|
.transform((items) => {
|
||||||
if (!Array.isArray(items)) {
|
if (!Array.isArray(items)) {
|
||||||
|
// eslint-disable-next-line
|
||||||
console.warn(
|
console.warn(
|
||||||
yellow(
|
yellow(
|
||||||
'[RSS] Passing a glob result directly has been deprecated. Please migrate to the `pagesGlobToRssItems()` helper: https://docs.astro.build/en/guides/rss/'
|
'[RSS] Passing a glob result directly has been deprecated. Please migrate to the `pagesGlobToRssItems()` helper: https://docs.astro.build/en/guides/rss/'
|
||||||
|
|
Loading…
Reference in a new issue