From 30f01962bf29907789a4666c8d890ae4bc5c030e Mon Sep 17 00:00:00 2001 From: saeedrila Date: Fri, 29 Dec 2023 00:33:32 +0530 Subject: [PATCH] Minor Typographical changes --- .eslintrc.json | 1 - src/index.ts | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 607b039..be6c85d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,5 +1,4 @@ { - "extends": ["standard-with-typescript", "airbnb", "prettier"], "plugins": ["prettier"], "rules": {} diff --git a/src/index.ts b/src/index.ts index d308068..dfde6a2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,7 @@ import { promises as fs ,existsSync} from "fs"; -import {createIfNot} from "./utils/fileUtils.js" -import * as path from "node:path" +import {createIfNot} from "./utils/fileUtils.js"; +import * as path from "node:path"; + async function writeSQL(statement: string, saveFileAs = "", isAppend: boolean = false) { try { const destinationFile = process.argv[2] || saveFileAs; @@ -91,5 +92,6 @@ async function readCSV(csvFileName = "", batchSize: number = 0) { console.log(err); } } + readCSV(); console.log("Finished!");