I have a README in a workspaces dir (eg. packages/README.md). Previously, the markdown file would be picked up as a workspace and I would get this error
Root has to be a valid directory
This PR ensures only dirs are picked up. From the node-glob docs
to match only directories, simply put a / at the end of the pattern.
I have a README in a workspaces dir (eg.
packages/README.md
). Previously, the markdown file would be picked up as a workspace and I would get this errorThis PR ensures only dirs are picked up. From the node-glob docs