gitdagray / csv-to-sql-insert

Provide table data as a CSV (comma-separated values) file and output a SQL insert statement for a table with the same name as the file.
MIT License
99 stars 120 forks source link

index file remove from root and path change for createIfNot function #75

Closed nishantsing closed 2 months ago

nishantsing commented 8 months ago

Fixed [Issue #36 ] Removed index.js file from the root because the project is transformed into TS structure and for a new contributor it will be easier to understand if we remove this non-essential file.

Fixed [Issue #61 ] The createIfNot fn path parameter creates a dir "sql\ExampleTable.sql" and when we try to write the file it throws an error as it is a directory - Error: EISDIR: illegal operation on a directory

These issues were fixed as I saw but due to a bad merge, I can see them again which is a hindrance for a new contributor or user to run the app.

nishantsing commented 8 months ago

Hi, checked the pull request, Is anything specific you want me to have a look at?