Skip to content

Commit

Permalink
Merge pull request #201 from GannettDigital/0.8.4
Browse files Browse the repository at this point in the history
0.8.4
  • Loading branch information
scottgunther authored Sep 23, 2019
2 parents baf1f51 + c79459a commit 396209e
Show file tree
Hide file tree
Showing 5 changed files with 154 additions and 219 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Pending Version

## 0.8.4

* Raghu Dantuluri
* Fixed generated test names to not collide, causing test overwrites

## 0.8.3

* Raghu Dantuluri
Expand Down
6 changes: 6 additions & 0 deletions docs/pages/home/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ title: 'Release Notes'
toc_label: 'Version Number'
sidebar: about_sidebar
---

## 0.8.4

* Raghu Dantuluri
* Fixed generated test names to not collide, causing test overwrites

## 0.8.3

* Raghu Dantuluri
Expand Down
2 changes: 1 addition & 1 deletion lib/planner/write-plans-to-disk.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = function writePlansToDisk(plans) {
const outputPath = configHandler.get('outputPath');
for (let plan of plans) {
const sha256 = (x) => crypto.createHash('sha256').update(x, 'utf8').digest('hex');
let testName = `simulato`+`--${sha256(plan.toString())}.json`;
let testName = `simulato`+`--${sha256(JSON.stringify(plan))}.json`;
let filePath = path.resolve(outputPath, testName);
fs.writeFileSync(filePath, JSON.stringify(plan));
}
Expand Down
Loading

0 comments on commit 396209e

Please sign in to comment.