meshy-node 0.0.2 → 0.0.3
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/README.md +1 -1
- package/main.cjs +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/main.cjs
CHANGED
|
@@ -32907,7 +32907,8 @@ var JSON_BODY_LIMIT_LARGE = "25mb";
|
|
|
32907
32907
|
function resolveRuntimeBaseDir() {
|
|
32908
32908
|
const entryPath = process.argv[1];
|
|
32909
32909
|
if (typeof entryPath === "string" && entryPath.length > 0) {
|
|
32910
|
-
|
|
32910
|
+
const resolved = fs15.realpathSync(path15.resolve(entryPath));
|
|
32911
|
+
return path15.dirname(resolved);
|
|
32911
32912
|
}
|
|
32912
32913
|
return process.cwd();
|
|
32913
32914
|
}
|