mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-31 04:59:50 +02:00
Hardcode the number of stars on dev
This commit is contained in:
@@ -14,6 +14,10 @@ export async function countStars(
|
||||
export async function getFormattedStars(
|
||||
repo = 'kamranahmedse/developer-roadmap'
|
||||
): Promise<string> {
|
||||
if (import.meta.env.DEV) {
|
||||
return '223k';
|
||||
}
|
||||
|
||||
const stars = await countStars(repo);
|
||||
|
||||
return formatter.format(stars);
|
||||
|
Reference in New Issue
Block a user