mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-26 09:30:27 +01:00
debug content
This commit is contained in:
@@ -51,8 +51,9 @@ export async function UpdateGitHubReadme(): Promise<void> {
|
|||||||
// Ignore the change if the contents is the same
|
// Ignore the change if the contents is the same
|
||||||
if (!change) return
|
if (!change) return
|
||||||
|
|
||||||
let new_content = content.replace(old_stats_table, stats_table);
|
console.log(content)
|
||||||
new_content = new_content.replace(old_infos_table, infos_table)
|
let new_content = content.replace(old_stats_table, stats_table).replace(old_infos_table, infos_table);
|
||||||
|
console.log(new_content)
|
||||||
|
|
||||||
await axios.put('https://api.github.com/repos/ArthurDanjou/ArthurDanjou/contents/README.md', {
|
await axios.put('https://api.github.com/repos/ArthurDanjou/ArthurDanjou/contents/README.md', {
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
Reference in New Issue
Block a user