Skip to content

Commit

Permalink
Version bump to 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Schmid committed Aug 31, 2017
1 parent ca20a69 commit e1cf6ed
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ Add a _Mocha parser_ task to your build job, that parses the generated _mocha.js

## Release notes

* 0.3.0
Create passed result in case of no errors found

* 0.2.0
Support piped input (stdin)

Expand Down
10 changes: 10 additions & 0 deletions lib/convert.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,15 @@ module.exports = function(flowJson, args) {
}
});

if (_.isEmpty(mochaOutput.failures) && _.isEmpty(mochaOutput.passes) && _.isEmpty(mochaOutput.skipped)) {
mochaOutput.stats.passes = 1;
mochaOutput.passes.push({
title: 'Flow checks passed',
fullTitle: 'No errors detected',
duration: 0,
errorCount: 0
});
}

return BbPromise.resolve(mochaOutput);
};
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flow-bamboo-reporter",
"version": "0.2.0",
"version": "0.3.0",
"engines": {
"node": ">=4.0"
},
Expand Down

0 comments on commit e1cf6ed

Please sign in to comment.