From 79c452c16189ea4e86757dbdf0b873ee54379102 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Sun, 20 Dec 2020 16:55:34 +0100 Subject: [PATCH] Working --- app/tasks/UpdateGithubReadme.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/tasks/UpdateGithubReadme.ts b/app/tasks/UpdateGithubReadme.ts index e8224d3..bbd03ed 100644 --- a/app/tasks/UpdateGithubReadme.ts +++ b/app/tasks/UpdateGithubReadme.ts @@ -43,7 +43,7 @@ export async function UpdateGitHubReadme(): Promise { const infos_table_check = '| Informations' + content.split('| Informations')[1] if (!infos_table_check) change = true - const old_infos_table = infos_table_check.split('######Curious')[0] + const old_infos_table = infos_table_check.split('###### Curious')[0] if (!old_infos_table) change = true @@ -57,10 +57,10 @@ export async function UpdateGitHubReadme(): Promise { console.log(new_content) console.log(" ") console.log(" INFOS CHECK ") - console.log(infos_table_check) + console.log(old_infos_table) console.log(" ") console.log(" STATS CHECK ") - console.log(stats_table_check) + console.log(old_stats_table) await axios.put('https://api.github.com/repos/ArthurDanjou/ArthurDanjou/contents/README.md', { headers: {