try fix again, remove debug logs
This commit is contained in:
@@ -113,7 +113,6 @@ const renderRepoCard = (repo, options = {}) => {
|
||||
value: totalPRsAuthored,
|
||||
id: "prs_authored",
|
||||
link: `https://github.com/search?q=${repoFilter}author%3A${username}&type=pullrequests`,
|
||||
number_format: "short",
|
||||
};
|
||||
}
|
||||
if (show.includes("prs_commented")) {
|
||||
@@ -123,7 +122,6 @@ const renderRepoCard = (repo, options = {}) => {
|
||||
value: totalPRsCommented,
|
||||
id: "prs_commented",
|
||||
link: `https://github.com/search?q=${repoFilter}commenter%3A${username}+-author%3A${username}&type=pullrequests`,
|
||||
number_format: "short",
|
||||
};
|
||||
}
|
||||
if (show.includes("prs_reviewed")) {
|
||||
@@ -133,7 +131,6 @@ const renderRepoCard = (repo, options = {}) => {
|
||||
value: totalPRsReviewed,
|
||||
id: "prs_reviewed",
|
||||
link: `https://github.com/search?q=${repoFilter}reviewed-by%3A${username}+-author%3A${username}&type=pullrequests`,
|
||||
number_format: "short",
|
||||
};
|
||||
}
|
||||
if (show.includes("issues_authored")) {
|
||||
@@ -143,7 +140,6 @@ const renderRepoCard = (repo, options = {}) => {
|
||||
value: totalIssuesAuthored,
|
||||
id: "issues_authored",
|
||||
link: `https://github.com/search?q=${repoFilter}author%3A${username}&type=issues`,
|
||||
number_format: "short",
|
||||
};
|
||||
}
|
||||
if (show.includes("issues_commented")) {
|
||||
@@ -153,7 +149,6 @@ const renderRepoCard = (repo, options = {}) => {
|
||||
value: totalIssuesCommented,
|
||||
id: "issues_commented",
|
||||
link: `https://github.com/search?q=${repoFilter}commenter%3A${username}+-author%3A${username}&type=issues`,
|
||||
number_format: "short",
|
||||
};
|
||||
}
|
||||
|
||||
@@ -169,7 +164,7 @@ const renderRepoCard = (repo, options = {}) => {
|
||||
showIcons: show_icons,
|
||||
shiftValuePos: 14.01,
|
||||
bold: text_bold,
|
||||
number_format,
|
||||
numberFormat: number_format,
|
||||
link: STATS[key].link,
|
||||
labelXOffset: 23,
|
||||
}),
|
||||
|
||||
@@ -86,9 +86,6 @@ const createTextNode = ({
|
||||
link,
|
||||
labelXOffset = 25,
|
||||
}) => {
|
||||
console.log("label: " + label);
|
||||
console.log("numberFormat" + numberFormat);
|
||||
|
||||
const precision =
|
||||
typeof numberPrecision === "number" && !isNaN(numberPrecision)
|
||||
? clampValue(numberPrecision, 0, 2)
|
||||
|
||||
Reference in New Issue
Block a user