From f54d16e3b6c30e9cabf6ffa2f887e995da797124 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Sun, 20 Dec 2020 16:26:15 +0100 Subject: [PATCH] Working --- app/tasks/UpdateGithubReadme.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/tasks/UpdateGithubReadme.ts b/app/tasks/UpdateGithubReadme.ts index 7973b3e..e8224d3 100644 --- a/app/tasks/UpdateGithubReadme.ts +++ b/app/tasks/UpdateGithubReadme.ts @@ -38,12 +38,12 @@ export async function UpdateGitHubReadme(): Promise { const stats_table_check = '| Statistics' + content.split('| Statistics')[1] if (!stats_table_check) change = true - const old_stats_table = stats_table_check.split('\n\n| Informations')[0] + const old_stats_table = stats_table_check.split('| Informations')[0] if (!old_stats_table) change = true const infos_table_check = '| Informations' + content.split('| Informations')[1] if (!infos_table_check) change = true - const old_infos_table = infos_table_check.split('\n\n######')[0] + const old_infos_table = infos_table_check.split('######Curious')[0] if (!old_infos_table) change = true