diff --git a/.gitignore b/.gitignore index 7157897..3c16c33 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,4 @@ node_modules/ .log :.prettierrc SheetJSPGExport.xlsx -pres.numbers \ No newline at end of file +pres.numbers diff --git a/SheetJSPG.js b/SheetJSPG.js index 81ace3f..b1b9d9b 100644 --- a/SheetJSPG.js +++ b/SheetJSPG.js @@ -1,12 +1,12 @@ const pg = require("pg"), format = require("pg-format"); const XLSX = require("xlsx"); const opts = { - database:"SheetJSPG", - host: "127.0.0.1", // localhost - port: 5432, - user: "postgres", - password: "7509" -}; + database:"SheetJSPG", + host: "127.0.0.1", // localhost + port: 5432, + user: "postgres", + password: "7509" + }; function deduceType(cells) { if (!cells || cells.length === 0) return 'text'; @@ -170,4 +170,4 @@ try { /* disconnect */ await client.end(); } -})(); \ No newline at end of file +})();