sebastianwessel / surrealdb-client-generator

Tool which generates a typescript client for SurrealDB and zod schema of a given database
MIT License
77 stars 12 forks source link

Make file operations async and ensure they are awaited correctly #44

Closed hammo92 closed 4 months ago

hammo92 commented 4 months ago

File write operations were not being awaited so the process could close before all files had been written. Switched to async operations and correct awaiting. Should fix #43