-
Notifications
You must be signed in to change notification settings - Fork 916
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filter directories out of glob patterns
- Loading branch information
1 parent
9adf3f0
commit 0561f7a
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -177,7 +177,7 @@ export async function install( | |
if (!glob.hasMagic(dep)) { | ||
depList.add(dep); | ||
} else { | ||
glob.sync(dep, {cwd: nodeModulesLoc}).forEach(depList.add); | ||
glob.sync(dep, {cwd: nodeModulesLoc, nodir: true}).forEach((f) => depList.add(f)); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
FredKSchott
Author
Owner
|
||
} | ||
}); | ||
for (const filePath of PACKAGES_TO_AUTO_DETECT_EXPORTS) { | ||
|
Is the idea here that using something like
would be disallowed? In practice this is causing issues for me with the plugin hanging up.