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
97 stars 122 forks source link

createIfNot function creates a directory not a file #50

Closed Bodykudo closed 10 months ago

Bodykudo commented 10 months ago

When running the new ts file through npm start FileName It returns an error because it's actually creating a new directory instead of a new file