@wdio/reporter
Advanced tools
Comparing version 8.1.0 to 8.1.2
@@ -36,5 +36,8 @@ import fs from 'node:fs'; | ||
if (this.options.outputDir) { | ||
fs.mkdir(this.options.outputDir, { recursive: true }, (err) => { | ||
err && log.error(`Couldn't create output dir: ${err.stack}`); | ||
}); | ||
try { | ||
fs.mkdirSync(this.options.outputDir, { recursive: true }); | ||
} | ||
catch (err) { | ||
log.error(`Couldn't create output dir: ${err.stack}`); | ||
} | ||
} | ||
@@ -41,0 +44,0 @@ this.outputStream = (this.options.stdout || !this.options.logFile) && this.options.writeStream |
{ | ||
"name": "@wdio/reporter", | ||
"version": "8.1.0", | ||
"version": "8.1.2", | ||
"description": "A WebdriverIO utility to help reporting all events", | ||
@@ -34,3 +34,3 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
"@wdio/logger": "8.1.0", | ||
"@wdio/types": "8.1.0", | ||
"@wdio/types": "8.1.2", | ||
"diff": "^5.0.0", | ||
@@ -47,3 +47,3 @@ "object-inspect": "^1.12.0", | ||
}, | ||
"gitHead": "f505134606f99129c816acb00f22e39032e60820" | ||
"gitHead": "14625257acfd6081b4c9914b214110c0c7bf7218" | ||
} |
Sorry, the diff of this file is not supported yet
50497
928
+ Added@wdio/types@8.1.2(transitive)
- Removed@wdio/types@8.1.0(transitive)
Updated@wdio/types@8.1.2