@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 CHANGED
@@ -6685,10 +6685,13 @@ class Resource {
6685
6685
  static load() {
6686
6686
  const bundle = {};
6687
6687
  if (Config.getOptions()?.l10nResourcePath) {
6688
- const resourcePath = joinPaths(
6689
- Config.getOptions()?.isSelfManagedRun ? "" : process.cwd(),
6690
- Config.getOptions()?.l10nResourcePath
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeesoft/i18n-verify",
3
- "version": "3.3.8",
3
+ "version": "3.3.9",
4
4
  "description": "Library to perform I18n verification on Nightwatch, WebdriverIO or Selenium framework projects",
5
5
  "main": "dist/index.mjs",
6
6
  "module": "dist/index.mjs",