baset-core
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="0.2.1"></a> | ||
## [0.2.1](https://github.com/Igmat/baset/compare/v0.2.0...v0.2.1) (2018-01-18) | ||
### Bug Fixes | ||
* **Core:** Removing temp files after accepting new baseline ([cb13be3](https://github.com/Igmat/baset/commit/cb13be3)) | ||
<a name="0.2.0"></a> | ||
@@ -8,0 +19,0 @@ # [0.2.0](https://github.com/Igmat/baset/compare/v0.1.0...v0.2.0) (2018-01-17) |
@@ -31,3 +31,6 @@ "use strict"; | ||
const filePath = file.replace(/.tmp$/, ''); | ||
fs.writeFile(filePath, baseline, err => console.log(err || `Baseline ${filePath} is written.`)); | ||
fs.writeFile(filePath, baseline, err => { | ||
console.log(err || `Baseline ${filePath} is written.`); | ||
fs.unlinkSync(file); | ||
}); | ||
}); | ||
@@ -34,0 +37,0 @@ } |
{ | ||
"name": "baset-core", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -34,4 +34,7 @@ import * as fs from 'fs'; | ||
baseline, | ||
err => console.log(err || `Baseline ${filePath} is written.`)); | ||
err => { | ||
console.log(err || `Baseline ${filePath} is written.`); | ||
fs.unlinkSync(file); | ||
}); | ||
}); | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6574
109