We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f494d19 commit 73014feCopy full SHA for 73014fe
src/bin/index.ts
@@ -4,7 +4,7 @@ import path from 'path';
4
import * as url from 'url';
5
6
import * as colors from 'ansi-colors';
7
-import { glob } from 'fast-glob';
+import * as fastglob from 'fast-glob';
8
// eslint-disable-next-line import/order -- what the actual heck, this rule bounces
9
import parser from 'yargs-parser';
10
@@ -188,7 +188,7 @@ async function main() {
188
}
189
190
// handle local schema(s)
191
- const inputSpecPaths = await glob(pathToSpec);
+ const inputSpecPaths = await fastglob.glob(pathToSpec);
192
const isGlob = inputSpecPaths.length > 1;
193
194
// error: no matches for glob
0 commit comments