diff --git a/lib/rules/ensure-workspaces.js b/lib/rules/ensure-workspaces.js index 7188e84..1f025ed 100644 --- a/lib/rules/ensure-workspaces.js +++ b/lib/rules/ensure-workspaces.js @@ -49,7 +49,10 @@ module.exports = { continue; } - let glob = path.join(node.value, 'package.json'); + // fast-glob isn't handling windows paths + let _path = path.posix; + + let glob = _path.join(node.value, 'package.json'); let entries = fg.sync(glob, { cwd: path.dirname(filename)