We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
patterns
1 parent 0cd8dd7 commit 08b62ceCopy full SHA for 08b62ce
src/options/index.ts
@@ -91,8 +91,7 @@ async function resolveWorkspace(
91
} = workspace
92
if (packages === 'auto') {
93
packages = (
94
- await glob({
95
- patterns: '**/package.json',
+ await glob('**/package.json', {
96
ignore: exclude,
97
cwd: rootCwd,
98
expandDirectories: false,
@@ -102,8 +101,7 @@ async function resolveWorkspace(
102
101
.map((file) => slash(path.resolve(rootCwd, file, '..')))
103
} else {
104
105
106
- patterns: packages,
+ await glob(packages, {
107
108
109
onlyDirectories: true,
0 commit comments