CHORE: register readme to git

This commit is contained in:
BradBot_1 2023-02-23 21:59:27 +00:00
parent 17bd529115
commit 4f747c5b79

View file

@ -88,6 +88,7 @@ export async function insertToReadme(projectName: string, projectLink: string, o
var data: string = `> This was cloned from [${projectName}](${projectLink})\n`;
if (existsSync(out + "README.md")) data = data + readFileSync(out + "README.md").toString();
writeFileSync(out + "README.md", data);
await git.add("README.md")
await git.commit("Modify README.md", "README.md", {
"--author": '"BradBot1 <BradBot_1@email.com>"'
});