Skip to content

Commit

Permalink
Fix lint, audit
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoz committed Nov 25, 2023
1 parent 316a835 commit b6ae3a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/esbd/src/esbd-serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import type {
notify as notifyFn,
} from '@jgoz/esbuild-plugin-livereload';
import type { TypecheckRunner as TypecheckRunnerCls } from '@jgoz/esbuild-plugin-typecheck';
import Graceful from 'node-graceful';
import dns from 'node:dns';
import fs from 'node:fs';
import type { ServerResponse } from 'node:http';
import { createServer } from 'node:http';
import path from 'node:path';
import { URL } from 'node:url';
import { promisify } from 'node:util';
import Graceful from 'node-graceful';
import pc from 'picocolors';
import serveStatic from 'serve-static';

Expand Down Expand Up @@ -215,7 +215,7 @@ export default async function esbdServe(
templateOutputPath = allWriteOptions[0].template.outputPath;
} else {
const pathParts = normalizedUrl.pathname.replace(/^\//, '').split('/');
let templateSegmentMatchLength: Record<string, number> = {};
const templateSegmentMatchLength: Record<string, number> = {};

for (const { template } of allWriteOptions) {
const templatePathParts = template.outputPath.replace(/^[\\/]/, '').split(path.sep);
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b6ae3a6

Please sign in to comment.