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 present for both js and ts. #36

Open Maanu07 opened 9 months ago

Maanu07 commented 9 months ago

I can see one index file in the src directory and the other in the root directory. I am not sure why we have an index.js file in the root directory. We can remove the index.js file. Let me know if I am missing something.

DIVYESH-GITHUB commented 9 months ago

@Maanu07 the index.js file was old code for the same. But now they have moved the logical code section into the src folder. And yes deleting the index.js file will not create any issue. I hope that helps.

Maanu07 commented 9 months ago

@Maanu07 the index.js file was old code for the same. But now they have moved the logical code section into the src folder. And yes deleting the index.js file will not create any issue. I hope that helps.

Cool, actually I added the index.ts file in the src directory but I also removed the index.js from the root directory. No idea how it came back. Maybe someone else PR introduced it again in the code.