diff --git a/lib/render.js b/lib/render.js index ad33723dda..9c79d15c37 100644 --- a/lib/render.js +++ b/lib/render.js @@ -49,7 +49,7 @@ export async function render (req, res) { /* istanbul ignore next */ req.url = url } - /* istanbul ignore if */ + /* istanbul ignore next */ if (this.dev && req.url.indexOf(self.options.build.publicPath) === 0 && req.url.includes('.hot-update.json')) { res.statusCode = 404 return {html: ''} @@ -66,7 +66,7 @@ export async function render (req, res) { res.end(html, 'utf8') return html } catch (err) { - /* istanbul ignore if */ + /* istanbul ignore next */ if (context.redirected) { console.error(err) // eslint-disable-line no-console return err