grantila / ts-to-openapi

Convert TypeScript types to OpenAPI schema components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hangs forever on Windows machines with no config file to find

maslade opened this issue · comments

I tried running this based on documentation and it was hanging permanently. I discovered the findFile() logic in util.ts assumes a Linux-like root paths. If I add the config file it's trying to detect it works okay, otherwise it spins forever checking the "C:\" directory over and over.

Proposed fix: #4

Good issue and PR, thanks!

🎉 This issue has been resolved in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀