denisraslov / folderslint

📁 Directory structure linter for Front-End projects
MIT License
183 stars 3 forks source link

Windows Not Supported #2

Closed mattferrin closed 3 years ago

mattferrin commented 3 years ago

I noticed that replacing the 2 occurrences of process.cwd() with process.cwd().split(path.sep).join(path.posix.sep) resolved this issue locally for me.

I visited https://shapeshed.com/writing-cross-platform-node/ first, but in the end found https://stackoverflow.com/a/63251716/1964376 to be helpful.

denisraslov commented 3 years ago

Thanks! I've merged your PR 👍