microsoft / backfill

A JavaScript caching library for reducing build time
MIT License
156 stars 31 forks source link

fixes windows to use the fast path as well #420

Closed kenotron closed 2 years ago

kenotron commented 2 years ago

Because the packageRoot from the getWorkspaces() returns a platform specific path sep, the switch to use the "fast path" was not activated on Windows (it still works as before, but it is just slower).

This change will address this issue by forcing the match with the "/" separator.