Skip to content

Commit

Permalink
Merge pull request #184 from kellyselden/windows-latest
Browse files Browse the repository at this point in the history
add windows ci
  • Loading branch information
kellyselden authored Nov 18, 2024
2 parents 391b3a3 + 46f1916 commit 821a375
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
matrix:
os:
- ubuntu-latest
- windows-latest
node:
- 18

Expand Down
5 changes: 4 additions & 1 deletion lib/rules/ensure-workspaces.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 821a375

Please sign in to comment.