This commit is contained in:
2020-12-20 16:57:03 +01:00
parent 79c452c161
commit 8a0e023928

View File

@@ -51,16 +51,12 @@ export async function UpdateGitHubReadme(): Promise<void> {
if (!change) return
let new_content = content.replace(old_stats_table, stats_table).replace(old_infos_table, infos_table);
let new_content = content.replace(old_stats_table, stats_table);
new_content = new_content.replace(old_infos_table, infos_table)
console.log(" NEW CONTENT ")
console.log(new_content)
console.log(" ")
console.log(" INFOS CHECK ")
console.log(old_infos_table)
console.log(" ")
console.log(" STATS CHECK ")
console.log(old_stats_table)
await axios.put('https://api.github.com/repos/ArthurDanjou/ArthurDanjou/contents/README.md', {
headers: {