This commit is contained in:
@@ -66,7 +66,7 @@ export default async function parseThisShit(downloadedFilePath) {
|
|||||||
let final2 = [];
|
let final2 = [];
|
||||||
|
|
||||||
for (const key of allKeys) {
|
for (const key of allKeys) {
|
||||||
const parsedKey = letterToNumber(key.replace(/[0-9]/gi, '')) - 1;
|
const parsedKey = letterToNumber(key.replace(/[0-9]/gi, ''));
|
||||||
let d = true;
|
let d = true;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -149,4 +149,4 @@ export default async function parseThisShit(downloadedFilePath) {
|
|||||||
fs.writeFileSync('db/current.json', JSON.stringify(data));
|
fs.writeFileSync('db/current.json', JSON.stringify(data));
|
||||||
}
|
}
|
||||||
|
|
||||||
// parseThisShit("downloads/table.xlsx");
|
parseThisShit("downloads/table.xlsx");
|
||||||
|
|||||||
Reference in New Issue
Block a user