@wdio/sauce-service 8.10.0 → 8.10.1

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/service.js +1 -1
  2. package/package.json +5 -5
package/build/service.js CHANGED
@@ -246,7 +246,7 @@ export default class SauceService {
246
246
  return;
247
247
  }
248
248
  const files = (await fs.readdir(this._config.outputDir))
249
- .filter((file) => file.startsWith(`wdio-${this._cid}`) && file.endsWith('.log'));
249
+ .filter((file) => (file.startsWith(`wdio-${this._cid}.`) || file.startsWith(`wdio-${this._cid}-`)) && file.endsWith('.log'));
250
250
  log.info(`Uploading WebdriverIO logs (${files.join(', ')}) to Sauce Labs`);
251
251
  return this._api.uploadJobAssets(jobId, { files: files.map((file) => path.join(this._config.outputDir, file)) }).catch((err) => log.error(`Couldn't upload log files to Sauce Labs: ${err.message}`));
252
252
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/sauce-service",
3
- "version": "8.10.0",
3
+ "version": "8.10.1",
4
4
  "description": "WebdriverIO service that provides a better integration into Sauce Labs",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-sauce-service",
@@ -31,11 +31,11 @@
31
31
  "typeScriptVersion": "3.8.3",
32
32
  "dependencies": {
33
33
  "@wdio/logger": "8.6.6",
34
- "@wdio/types": "8.10.0",
35
- "@wdio/utils": "8.10.0",
34
+ "@wdio/types": "8.10.1",
35
+ "@wdio/utils": "8.10.1",
36
36
  "ip": "^1.1.8",
37
37
  "saucelabs": "^7.1.3",
38
- "webdriverio": "8.10.0"
38
+ "webdriverio": "8.10.1"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/ip": "^1.1.0"
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "f0c607340b4f31a4ae48509115335283f488e38f"
46
+ "gitHead": "0fc768bb7b2fe233877893260aec658facf6357f"
47
47
  }