From 16cdfeef81c7c0472c7fccc882fd3c39b0e88bcd Mon Sep 17 00:00:00 2001 From: matthewp Date: Thu, 23 Jun 2022 13:05:55 +0000 Subject: [PATCH] [ci] format --- packages/integrations/partytown/src/index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/integrations/partytown/src/index.ts b/packages/integrations/partytown/src/index.ts index 51343b169..44ffbe310 100644 --- a/packages/integrations/partytown/src/index.ts +++ b/packages/integrations/partytown/src/index.ts @@ -1,9 +1,9 @@ import { partytownSnippet } from '@builder.io/partytown/integration'; import { copyLibFiles, libDirPath } from '@builder.io/partytown/utils'; import type { AstroConfig, AstroIntegration } from 'astro'; +import * as fs from 'fs'; import { createRequire } from 'module'; import path from 'path'; -import * as fs from 'fs'; import { fileURLToPath } from 'url'; import sirv from './sirv.js'; const resolve = createRequire(import.meta.url).resolve; @@ -54,11 +54,11 @@ export default function createPlugin(options: PartytownOptions): AstroIntegratio 'astro:build:ssr': async ({ manifest }) => { const dirpath = libDirPath({ debugDir: false }); const files = await fs.promises.readdir(dirpath); - for(const file of files) { - if(file === 'debug') continue; - manifest.assets.push(`/~partytown/${file}`) + for (const file of files) { + if (file === 'debug') continue; + manifest.assets.push(`/~partytown/${file}`); } - } + }, }, }; }