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" ;
2
1
import { renderStatsCard } from "../src/cards/stats-card.js" ;
3
2
import { blacklist } from "../src/common/blacklist.js" ;
4
3
import {
@@ -11,8 +10,6 @@ import {
11
10
import { fetchStats } from "../src/fetchers/stats-fetcher.js" ;
12
11
import { isLocaleAvailable } from "../src/translations.js" ;
13
12
14
- dotenv . config ( ) ;
15
-
16
13
export default async ( req , res ) => {
17
14
const {
18
15
username,
Original file line number Diff line number Diff line change 1
- import * as dotenv from "dotenv" ;
2
1
import { renderTopLanguages } from "../src/cards/top-languages-card.js" ;
3
2
import { blacklist } from "../src/common/blacklist.js" ;
4
3
import {
@@ -11,8 +10,6 @@ import {
11
10
import { fetchTopLanguages } from "../src/fetchers/top-languages-fetcher.js" ;
12
11
import { isLocaleAvailable } from "../src/translations.js" ;
13
12
14
- dotenv . config ( ) ;
15
-
16
13
export default async ( req , res ) => {
17
14
const {
18
15
username,
Original file line number Diff line number Diff line change 1
- import * as dotenv from "dotenv" ;
2
1
import { renderWakatimeCard } from "../src/cards/wakatime-card.js" ;
3
2
import {
4
3
clampValue ,
@@ -10,8 +9,6 @@ import {
10
9
import { fetchWakatimeStats } from "../src/fetchers/wakatime-fetcher.js" ;
11
10
import { isLocaleAvailable } from "../src/translations.js" ;
12
11
13
- dotenv . config ( ) ;
14
-
15
12
export default async ( req , res ) => {
16
13
const {
17
14
username,
Original file line number Diff line number Diff line change 1
1
// @ts -check
2
2
import axios from "axios" ;
3
- import * as dotenv from "dotenv" ;
4
3
import githubUsernameRegex from "github-username-regex" ;
5
4
import { calculateRank } from "../calculateRank.js" ;
6
5
import { retryer } from "../common/retryer.js" ;
@@ -12,8 +11,6 @@ import {
12
11
wrapTextMultiline ,
13
12
} from "../common/utils.js" ;
14
13
15
- dotenv . config ( ) ;
16
-
17
14
/**
18
15
* Stats fetcher object.
19
16
*
Original file line number Diff line number Diff line change 1
1
// @ts -check
2
- import * as dotenv from "dotenv" ;
3
2
import { retryer } from "../common/retryer.js" ;
4
3
import {
5
4
CustomError ,
9
8
wrapTextMultiline ,
10
9
} from "../common/utils.js" ;
11
10
12
- dotenv . config ( ) ;
13
-
14
11
/**
15
12
* Top languages fetcher object.
16
13
*
You can’t perform that action at this time.
0 commit comments