[ci] format
This commit is contained in:
parent
3f8ee70e2b
commit
589b840f5a
1 changed files with 3 additions and 1 deletions
|
@ -101,7 +101,9 @@ const createPlugin = (options?: SitemapOptions): AstroIntegration => {
|
|||
if (pageUrls.length === 0) {
|
||||
// offer suggestion for SSR users
|
||||
if (typeof config.adapter !== 'undefined') {
|
||||
logger.warn(`No pages found! We can only detect sitemap routes for "static" projects. Since you are using an SSR adapter, we recommend manually listing your sitemap routes using the "customPages" integration option.\n\nExample: \`sitemap({ customPages: ['https://example.com/route'] })\``);
|
||||
logger.warn(
|
||||
`No pages found! We can only detect sitemap routes for "static" projects. Since you are using an SSR adapter, we recommend manually listing your sitemap routes using the "customPages" integration option.\n\nExample: \`sitemap({ customPages: ['https://example.com/route'] })\``
|
||||
);
|
||||
} else {
|
||||
logger.warn(`No pages found!\n\`${OUTFILE}\` not created.`);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue