chore(clean): kick start

This commit is contained in:
Abhiraj Roy
2024-05-29 23:28:35 +05:30
parent aba4809559
commit b4e558a976
193 changed files with 0 additions and 31841 deletions

View File

@@ -1,14 +0,0 @@
const fs = require("fs");
const clearModules = (filePath) => {
if (fs.existsSync(filePath)) {
let fileContent = fs.readFileSync(filePath, "utf8");
fileContent = fileContent.replace(/require\s*\([\s\S]*?\)/, "");
fs.writeFileSync(filePath, fileContent, "utf8");
} else {
console.log("File does not exist.");
}
};
clearModules("go.mod");
clearModules("exampleSite/go.mod");