Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
drloloto committed Apr 14, 2024
1 parent e2536a7 commit b166cb1
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { read, utils } from "xlsx";
import { knex } from "knex";
import { readdir } from "node:fs/promises";
import { TYPES } from "tedious";
const mKnex = knex({ client: "mysql" });
const files = await readdir(import.meta.dir + "/sourcefiles");

Expand Down Expand Up @@ -29,14 +28,3 @@ for await (const fileName of files) {

await Bun.write(`export/${fileName.replace(".xlsx", "")}.sql`, sqlFileResult);
}
await Bun.sleep(60000);

// fs.writeFile(
// `./export/xt_content_elements/xt_content_elements_${fromLang}.sql`,
// result.join(''),
// (err) => {
// if (err) throw err;
// console.log('Die SQL-Datei wurde erstellt.');
// }
// );
// };

0 comments on commit b166cb1

Please sign in to comment.