Skip to content

Commit 0aebe95

Browse files
author
Trygve Lie
committed
chore: lint love
1 parent 7451b25 commit 0aebe95

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lib/layout-plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const podiumLayoutFastifyPlugin = (fastify, layout, done) => {
1212
fastify.addHook('onRequest', async (request, reply) => {
1313
reply.app = {
1414
podium: {},
15-
}
15+
};
1616
});
1717

1818
// Run parsers on request and store state object on reply.app.podium

test/layout-plugin.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ class Server {
1717
...options,
1818
});
1919

20-
layout.view((incoming, fragment) => {
21-
return `## ${fragment} ##`;
22-
});
20+
layout.view((incoming, fragment) => `## ${fragment} ##`);
2321

2422
const podlet = layout.client.register(podletAddr.options);
2523

0 commit comments

Comments
 (0)