This commit is contained in:
sanjayk03-dev
2024-04-05 02:21:01 +05:30
parent 88dc8808b1
commit 23068d8040

View File

@@ -533,7 +533,7 @@ module.exports = {
const fileContent = await readFile(file); const fileContent = await readFile(file);
console.log(fileContent); console.log(fileContent);
} catch (error) { } catch (error) {
alert("Error reading file:", error); console.error("Error reading file:", error);
} }
} }
// const extension = file.name.split(".").pop(); // const extension = file.name.split(".").pop();