@wdio/utils 8.24.2 → 8.24.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.
Files changed (2) hide show
  1. package/build/shim.js +1 -1
  2. package/package.json +2 -2
package/build/shim.js CHANGED
@@ -272,7 +272,7 @@ export async function executeAsync(fn, retries, args = [], timeout = 20000) {
272
272
  })
273
273
  ]);
274
274
  done = true;
275
- if (typeof result === 'object' && 'finally' in result && typeof result.finally === 'function') {
275
+ if (result !== null && typeof result === 'object' && 'finally' in result && typeof result.finally === 'function') {
276
276
  result.catch((err) => err);
277
277
  }
278
278
  return await result;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/utils",
3
- "version": "8.24.2",
3
+ "version": "8.24.3",
4
4
  "description": "A WDIO helper utility to provide several utility functions used across the project.",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-utils",
@@ -55,5 +55,5 @@
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
- "gitHead": "6c01d2d2c47c32988e8b01ee9c43279f813b2e41"
58
+ "gitHead": "365d1997d0303e41bc418e447a46573fdbcc2dce"
59
59
  }