From 96cb130a8d2c51a5f786616da0c1cb5db30df302 Mon Sep 17 00:00:00 2001 From: Owen Buckley Date: Sun, 10 Mar 2024 19:23:13 -0400 Subject: [PATCH] fix linting --- packages/plugin-adapter-vercel/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-adapter-vercel/src/index.js b/packages/plugin-adapter-vercel/src/index.js index f9daaf60e..d9705393f 100644 --- a/packages/plugin-adapter-vercel/src/index.js +++ b/packages/plugin-adapter-vercel/src/index.js @@ -87,7 +87,7 @@ async function vercelAdapter(compilation) { const { id } = page; const outputRoot = new URL(`./${basePath}/${id}.func/`, adapterOutputUrl); const files = (await fs.readdir(outputDir)) - .filter(file => file.indexOf(`.route.chunk.`) > 0 && file.endsWith('.js')); + .filter(file => file.indexOf('.route.chunk.') > 0 && file.endsWith('.js')); await setupFunctionBuildFolder(id, outputType, outputRoot);