mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-08-24 12:26:50 +00:00
feat: remove 'include_private' (#2736)
* feat: remove 'include_private' As explained in #2517 the 'include_private' flag is confusing and doesn't work as expected. This commit therefore removes this flag. * fix: fix tests * docs: remove redundant private deploy note
This commit is contained in:
@@ -166,7 +166,7 @@ describe("Test fetchStats", () => {
|
||||
.onGet("https://api.github.com/search/commits?q=author:anuraghazra")
|
||||
.reply(200, { total_count: 1000 });
|
||||
|
||||
let stats = await fetchStats("anuraghazra", false, true);
|
||||
let stats = await fetchStats("anuraghazra", true);
|
||||
const rank = calculateRank({
|
||||
all_commits: true,
|
||||
commits: 1000,
|
||||
@@ -193,7 +193,7 @@ describe("Test fetchStats", () => {
|
||||
.onGet("https://api.github.com/search/commits?q=author:anuraghazra")
|
||||
.reply(200, { total_count: 1000 });
|
||||
|
||||
let stats = await fetchStats("anuraghazra", false, true, ["test-repo-1"]);
|
||||
let stats = await fetchStats("anuraghazra", true, ["test-repo-1"]);
|
||||
const rank = calculateRank({
|
||||
all_commits: true,
|
||||
commits: 1000,
|
||||
|
||||
Reference in New Issue
Block a user