refactor: move all envs related code into separate file (#4529)

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
This commit is contained in:
Alexandr GarbuzovandAlexandr authored and GitHub committed 2025-10-06 21:32:23 +03:00
1 parent 24b1df0d28
commit f5b1ffa5e3
9 files changed
+22 -15

No files matched your search

+3 -1
View File
@@ -1,3 +1,5 @@
// @ts-check
import { renderWakatimeCard } from "../src/cards/wakatime.js";
import {
clampValue,
@@ -6,7 +8,7 @@ import {
parseBoolean,
renderError,
} from "../src/common/utils.js";
import { whitelist } from "../src/common/whitelist.js";
import { whitelist } from "../src/common/envs.js";
import { fetchWakatimeStats } from "../src/fetchers/wakatime.js";
import { isLocaleAvailable } from "../src/translations.js";