diff --git a/src/utils/packageJson.ts b/src/utils/packageJson.ts index d09b724..29b00a5 100644 --- a/src/utils/packageJson.ts +++ b/src/utils/packageJson.ts @@ -3,9 +3,9 @@ import { dirname, resolve } from "path"; import { fileURLToPath } from "url"; // Intentionally not using import because typescript generates a src folder inside bin -export const packageJson = JSON.parse( +export const packageJson = JSON.parse( readFileSync( resolve(dirname(fileURLToPath(import.meta.url)), "../..", "package.json"), { encoding: "utf-8" }, ), -); \ No newline at end of file +);