@usevalt/cli 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2465,7 +2465,7 @@ import { join as join2, dirname } from "path";
|
|
|
2465
2465
|
import { fileURLToPath } from "url";
|
|
2466
2466
|
import os3 from "os";
|
|
2467
2467
|
var __dirname = dirname(fileURLToPath(import.meta.url));
|
|
2468
|
-
var pkgVersion = JSON.parse(readFileSync4(join2(__dirname, "
|
|
2468
|
+
var pkgVersion = JSON.parse(readFileSync4(join2(__dirname, "../package.json"), "utf-8")).version;
|
|
2469
2469
|
var CLAUDE_DIR = join2(os3.homedir(), ".claude");
|
|
2470
2470
|
var SETTINGS_FILE = join2(CLAUDE_DIR, "settings.json");
|
|
2471
2471
|
var LEGACY_HOOKS_FILE = join2(CLAUDE_DIR, "hooks.json");
|