The paths returned from getWorkspaces are not platform agnostic, and break when running on windows builds. path.join will return correct platform agnostic paths, but these get corrupted by glob.sync.
'D:\\Users\\nickm\\Documents\\Code\\my-app\\core'
becomes
'D:/Users/nickm/Documents/Code/my-app/core'
Happy to move this fix across into the 'get-yarn-workspaces' package if it is preferred.
The paths returned from
getWorkspaces
are not platform agnostic, and break when running on windows builds. path.join will return correct platform agnostic paths, but these get corrupted by glob.sync.'D:\\Users\\nickm\\Documents\\Code\\my-app\\core'
becomes
'D:/Users/nickm/Documents/Code/my-app/core'
Happy to move this fix across into the 'get-yarn-workspaces' package if it is preferred.
Fixes #13