Include OpenAPI (#19)

* done

Signed-off-by: Avior <github@avior.me>

* Fixed no such file or directory error

Signed-off-by: Avior <github@avior.me>

* Fixed problem

* Fixed fix
This commit is contained in:
2021-10-12 11:05:12 +02:00
committed by GitHub
parent f5c22f87c0
commit 41c6ceab45
2 changed files with 10 additions and 1 deletions

View File

@ -32,7 +32,7 @@ const globCache: Record<string, Array<string>> = {}
export async function smartGlob(query: string): Promise<Array<string>> {
if (!globCache[query]) {
globCache[query] = await new Promise((res) => {
glob(query, (err, matches) => res(matches))
glob(query, (_, matches) => res(matches))
})
}
return globCache[query]