Commit 0d44623f authored by Anderson Leite's avatar Anderson Leite Committed by Tim Neutkens

Local variable 'out' is redundant. (#5710)

parent 9547e778
......@@ -194,8 +194,7 @@ export default class Server {
async renderToHTML (req, res, pathname, query) {
try {
const out = await renderToHTML(req, res, pathname, query, this.renderOpts)
return out
return await renderToHTML(req, res, pathname, query, this.renderOpts)
} catch (err) {
if (err.code === 'ENOENT') {
res.statusCode = 404
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment