Skip to content

Commit

Permalink
show also for custom skips
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 7, 2023
1 parent 3fc384c commit 5850697
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/prerender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,7 @@ export async function prerender(nitro: Nitro) {
// Check if route is skipped or has errors
if (_route.skip || _route.error) {
await nitro.hooks.callHook("prerender:route", _route);
if (!_route.skip) {
nitro.logger.log(formatPrerenderRoute(_route));
}
nitro.logger.log(formatPrerenderRoute(_route));
dataBuff = undefined; // Free memory
return _route;
}
Expand Down

0 comments on commit 5850697

Please sign in to comment.