Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed May 7, 2024
1 parent d71bb8f commit 65b0647
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cli/src/collect/fallback-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ class FallbackServer {
.filter(fileOrDir => fileOrDir.isDirectory())
.map(dir => dir.name);

const htmlFiles = files.filter(file => file.endsWith('.html') || file.endsWith('.htm'))
const htmlFiles = files
.filter(file => file.endsWith('.html') || file.endsWith('.htm'))
.map(file => ({file, depth: 0}));

if (depth === 0) return htmlFiles;
Expand Down

0 comments on commit 65b0647

Please sign in to comment.