fix(cli): Unused variable path

This commit is contained in:
Zakary Kamal Ismail 2019-12-23 11:31:24 -05:00
parent 8d28a6eef8
commit 54605785da

View File

@ -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);