mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 16:16:02 +00:00
cleanup: replace console.log/warn with $console, remove commented-out code
Removed various commented-out code and replaced direct `console.log` and `console.warn` usage across the codebase with `$console` from "core" for standardized logging. Also adjusted linting rules in biome.json to enable warnings for `console.log` usage.
This commit is contained in:
@@ -17,6 +17,7 @@ export const debug: CliCommand = (program) => {
|
||||
|
||||
const subjects = {
|
||||
paths: async () => {
|
||||
// biome-ignore lint/suspicious/noConsoleLog:
|
||||
console.log("[PATHS]", {
|
||||
rootpath: getRootPath(),
|
||||
distPath: getDistPath(),
|
||||
@@ -27,6 +28,7 @@ const subjects = {
|
||||
});
|
||||
},
|
||||
routes: async () => {
|
||||
// biome-ignore lint/suspicious/noConsoleLog:
|
||||
console.log("[APP ROUTES]");
|
||||
const credentials = getConnectionCredentialsFromEnv();
|
||||
const app = createApp({ connection: credentials });
|
||||
|
||||
Reference in New Issue
Block a user