@zeesoft/i18n-verify 3.3.8 → 3.3.9
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/executor.mjs +7 -4
- package/package.json +1 -1
package/dist/executor.mjs
CHANGED
|
@@ -6685,10 +6685,13 @@ class Resource {
|
|
|
6685
6685
|
static load() {
|
|
6686
6686
|
const bundle = {};
|
|
6687
6687
|
if (Config.getOptions()?.l10nResourcePath) {
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
|
|
6688
|
+
let resourcePath = Config.getOptions().l10nResourcePath;
|
|
6689
|
+
if (resolve(resourcePath) === resourcePath) {
|
|
6690
|
+
resourcePath = joinPaths(
|
|
6691
|
+
Config.getOptions()?.isSelfManagedRun ? "" : process.cwd(),
|
|
6692
|
+
resourcePath
|
|
6693
|
+
);
|
|
6694
|
+
}
|
|
6692
6695
|
if (fileExists(resourcePath)) {
|
|
6693
6696
|
Resource.#processFile(resourcePath, bundle);
|
|
6694
6697
|
} else if (dirExists(resourcePath)) {
|
package/package.json
CHANGED