mswjs / msw

Industry standard API mocking for JavaScript.
https://mswjs.io
MIT License
15.97k stars 519 forks source link

fix(cli): support windows paths in the `init` command #2260

Closed ivanfernandez2646 closed 2 months ago

ivanfernandez2646 commented 2 months ago
kettanaito commented 2 months ago

Hey, @ivanfernandez2646 👋 Thank you so much for adding the tests!

I've pushed the fix so now the init command can support both Windows and Unix paths stored in workerDirectory or provided as an argument in the CLI.

kettanaito commented 2 months ago

Welcome to the contributors, @ivanfernandez2646 👏

kettanaito commented 2 months ago

Released: v2.4.2 🎉

This has been released in v2.4.2!

Make sure to always update to the latest version (npm i msw@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.

nabby27 commented 2 months ago

Congratulations @ivanfernandez2646 for your contribution!

Although it is not a solution to the issue (since the problem did not exist), I will still pay you the Opire bounty for contributing to the project by creating the tests!

ivanfernandez2646 commented 2 months ago

@kettanaito @nabby27 Many thanks!! It was a pleasure!