diff --git a/src/commands/special/where.ts b/src/commands/special/where.ts index f3976e99..4e3ecf73 100644 --- a/src/commands/special/where.ts +++ b/src/commands/special/where.ts @@ -5,14 +5,10 @@ import { readFile } from "fs/promises"; import type { SpecialCommand } from "../command.js"; import { countWords, substringAfter } from "../../utils/stringUtils.js"; - if (process.env.NODE_ENV === "production") { // This is a simple detection if we're running inside docker // We assume that every developer that wants to use this feature has impact installed - GlobalFonts.register( - await readFile("assets/impact.ttf"), - "Impact", - ); + GlobalFonts.register(await readFile("assets/impact.ttf"), "Impact"); } export class WhereCommand implements SpecialCommand {