html-reporter
Advanced tools
Comparing version 2.10.0 to 2.10.1
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="2.10.1"></a> | ||
## [2.10.1](https://github.com/gemini-testing/html-reporter/compare/v2.10.0...v2.10.1) (2018-04-04) | ||
### Bug Fixes | ||
* create report directory before save data on exit ([a5475e6](https://github.com/gemini-testing/html-reporter/commit/a5475e6)) | ||
<a name="2.10.0"></a> | ||
@@ -7,0 +17,0 @@ # [2.10.0](https://github.com/gemini-testing/html-reporter/compare/v2.9.3...v2.10.0) (2018-04-04) |
@@ -155,7 +155,4 @@ 'use strict'; | ||
save() { | ||
return fs.mkdirsAsync(this._pluginConfig.path) | ||
.then(() => Promise.all([ | ||
this.saveDataFileAsync(), | ||
this._copyToReportDir(['index.html', 'report.min.js', 'report.min.css']) | ||
])) | ||
return this.saveDataFileAsync() | ||
.then(() => this._copyToReportDir(['index.html', 'report.min.js', 'report.min.css'])) | ||
.then(() => this) | ||
@@ -166,7 +163,9 @@ .catch((e) => logger.warn(e.message || e)); | ||
saveDataFileAsync() { | ||
return this._saveDataFile(fs.writeFileAsync); | ||
return fs.mkdirsAsync(this._pluginConfig.path) | ||
.then(() => this._saveDataFile(fs.writeFileAsync)); | ||
} | ||
saveDataFileSync() { | ||
return this._saveDataFile(fs.writeFileSync); | ||
fs.mkdirsSync(this._pluginConfig.path); | ||
this._saveDataFile(fs.writeFileSync); | ||
} | ||
@@ -173,0 +172,0 @@ |
{ | ||
"name": "html-reporter", | ||
"version": "2.10.0", | ||
"version": "2.10.1", | ||
"description": "Plugin for gemini and hermione which is intended to aggregate the results of tests running into html report", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6371633
0
7313