From 86288138eb6bb05d9c25ec23e716fbb1096fa336 Mon Sep 17 00:00:00 2001 From: "James M. Greene" Date: Fri, 22 Jul 2022 18:04:52 -0500 Subject: [PATCH] Fix spacing --- src/fixtures/nuxt/async.expected.js | 31 ++++++++++++++--------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/src/fixtures/nuxt/async.expected.js b/src/fixtures/nuxt/async.expected.js index c7e9ce8..50c2e4f 100644 --- a/src/fixtures/nuxt/async.expected.js +++ b/src/fixtures/nuxt/async.expected.js @@ -1,18 +1,17 @@ const getAllDynamicRoute = async function() { - const routes = await (async () => { - return ['/posts/hello-world', '/posts/hello-again']; - })(); - return routes; - }; - - export default { - target: 'static', - router: {base: '/docs/'}, - mode: 'universal', - generate: { - async routes () { - return getAllDynamicRoute(); - } + const routes = await (async () => { + return ['/posts/hello-world', '/posts/hello-again']; + })(); + return routes; +}; + +export default { + target: 'static', + router: {base: '/docs/'}, + mode: 'universal', + generate: { + async routes () { + return getAllDynamicRoute(); } - }; - \ No newline at end of file + } +};