Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Mar 10, 2024
1 parent 54434fa commit 96cb130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-adapter-vercel/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 96cb130

Please sign in to comment.