File tree Expand file tree Collapse file tree 5 files changed +0
-15
lines changed
Expand file tree Collapse file tree 5 files changed +0
-15
lines changed Original file line number Diff line number Diff line change 1- import * as dotenv from "dotenv" ;
21import { renderStatsCard } from "../src/cards/stats-card.js" ;
32import { blacklist } from "../src/common/blacklist.js" ;
43import {
@@ -11,8 +10,6 @@ import {
1110import { fetchStats } from "../src/fetchers/stats-fetcher.js" ;
1211import { isLocaleAvailable } from "../src/translations.js" ;
1312
14- dotenv . config ( ) ;
15-
1613export default async ( req , res ) => {
1714 const {
1815 username,
Original file line number Diff line number Diff line change 1- import * as dotenv from "dotenv" ;
21import { renderTopLanguages } from "../src/cards/top-languages-card.js" ;
32import { blacklist } from "../src/common/blacklist.js" ;
43import {
@@ -11,8 +10,6 @@ import {
1110import { fetchTopLanguages } from "../src/fetchers/top-languages-fetcher.js" ;
1211import { isLocaleAvailable } from "../src/translations.js" ;
1312
14- dotenv . config ( ) ;
15-
1613export default async ( req , res ) => {
1714 const {
1815 username,
Original file line number Diff line number Diff line change 1- import * as dotenv from "dotenv" ;
21import { renderWakatimeCard } from "../src/cards/wakatime-card.js" ;
32import {
43 clampValue ,
@@ -10,8 +9,6 @@ import {
109import { fetchWakatimeStats } from "../src/fetchers/wakatime-fetcher.js" ;
1110import { isLocaleAvailable } from "../src/translations.js" ;
1211
13- dotenv . config ( ) ;
14-
1512export default async ( req , res ) => {
1613 const {
1714 username,
Original file line number Diff line number Diff line change 11// @ts -check
22import axios from "axios" ;
3- import * as dotenv from "dotenv" ;
43import githubUsernameRegex from "github-username-regex" ;
54import { calculateRank } from "../calculateRank.js" ;
65import { retryer } from "../common/retryer.js" ;
@@ -12,8 +11,6 @@ import {
1211 wrapTextMultiline ,
1312} from "../common/utils.js" ;
1413
15- dotenv . config ( ) ;
16-
1714/**
1815 * Stats fetcher object.
1916 *
Original file line number Diff line number Diff line change 11// @ts -check
2- import * as dotenv from "dotenv" ;
32import { retryer } from "../common/retryer.js" ;
43import {
54 CustomError ,
98 wrapTextMultiline ,
109} from "../common/utils.js" ;
1110
12- dotenv . config ( ) ;
13-
1411/**
1512 * Top languages fetcher object.
1613 *
You can’t perform that action at this time.
0 commit comments