buildwithnexus 0.5.15 → 0.5.16
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/bin.js +1 -1
- package/dist/nexus-release.tar.gz +0 -0
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -24,7 +24,7 @@ import { fileURLToPath } from "url";
|
|
|
24
24
|
function getVersion() {
|
|
25
25
|
try {
|
|
26
26
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
27
|
-
const packagePath = join(__dirname, "..", "
|
|
27
|
+
const packagePath = join(__dirname, "..", "package.json");
|
|
28
28
|
const packageJson = JSON.parse(readFileSync(packagePath, "utf-8"));
|
|
29
29
|
return packageJson.version;
|
|
30
30
|
} catch (e) {
|
|
Binary file
|