@nocobase/utils 2.1.0-beta.35 → 2.1.0-beta.37
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/lib/storage-path.js +2 -2
- package/package.json +2 -2
package/lib/storage-path.js
CHANGED
|
@@ -57,8 +57,8 @@ function storagePathJoin(...segments) {
|
|
|
57
57
|
__name(storagePathJoin, "storagePathJoin");
|
|
58
58
|
function resolvePluginStoragePath() {
|
|
59
59
|
if (process.env.PLUGIN_STORAGE_PATH) {
|
|
60
|
-
const
|
|
61
|
-
return import_path.default.isAbsolute(
|
|
60
|
+
const pluginStoragePath = process.env.PLUGIN_STORAGE_PATH;
|
|
61
|
+
return import_path.default.isAbsolute(pluginStoragePath) ? pluginStoragePath : import_path.default.resolve(process.cwd(), pluginStoragePath);
|
|
62
62
|
}
|
|
63
63
|
return storagePathJoin("plugins");
|
|
64
64
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/utils",
|
|
3
|
-
"version": "2.1.0-beta.
|
|
3
|
+
"version": "2.1.0-beta.37",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"object-path": "^0.11.8",
|
|
22
22
|
"ses": "^1.14.0"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "7132e5b83ecc0e42b54715eaf1429c72bcef34ae"
|
|
25
25
|
}
|