diff --git a/cli/index.ts b/cli/index.ts index e2dd9213..8c34bb05 100644 --- a/cli/index.ts +++ b/cli/index.ts @@ -203,7 +203,7 @@ async function serve(port: number, pathToSpec: string, options: Options = {}) { const watcher = watch(pathToSpecDirectory, watchOptions); const log = console.log.bind(console); - const handlePath = async path => { + const handlePath = async _path => { try { spec = await loadAndBundleSpec(pathToSpec); pageHTML = await getPageHTML(spec, pathToSpec, options);