mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-08 06:04:56 +03:00
fix(cli): Unused variable path
This commit is contained in:
parent
8d28a6eef8
commit
54605785da
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user