Fixes
Update Server / Primary Server Repo Update (push) Successful in 4m11s
Update Server / Physical Server Update Trigger (push) Successful in 5s

This commit is contained in:
2023-10-07 01:29:24 -04:00
parent f19c91a411
commit a29c727f98
2 changed files with 3 additions and 2 deletions
Regular → Executable
View File
+2 -1
View File
@@ -13,8 +13,9 @@ app.post("/repo_change", (request, response) => {
exec(`cd ${body.repository.name} && ls`, function (err, out, stderr) {
console.log(out)
exec(
'scc --format json --remap-all "":"Misc."',
`cd ${body.repository.name} && scc --format json --remap-all "":"Misc."`,
function (err, out, stderr) {
console.log(out)
const svgString = gradientBadge({
subject: "Lines of Code", // <text>
status: `${JSON.parse(out)[0].Lines}`, // <text>