Skip to content

Commit

Permalink
Incorporating review comments on unnecessary promise handling
Browse files Browse the repository at this point in the history
  • Loading branch information
vishrutshah committed Aug 10, 2017
1 parent 9ee65bd commit fe3b648
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## 0.1.7
Released on 2017-08-10.
- Chaining the promises upto `compare` method and gracefully existing application [#88](https://github.com/Azure/openapi-diff/issues/88)
- Chaining the promises upto `compare` method and gracefully exiting application [#88](https://github.com/Azure/openapi-diff/issues/88)

## 0.1.x
Released on 2017-07-18. All issues associated with this release can be found using this filter [Sprint-103](https://github.com/Azure/openapi-diff/issues?q=label%3ASprint-103+is%3Aclosed) [Sprint-104](https://github.com/Azure/openapi-diff/issues?utf8=%E2%9C%93&q=label%3ASprint-104%20is%3Aclosed)
Expand Down
4 changes: 1 addition & 3 deletions lib/validators/openApiDiff.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ class OpenApiDiff {
var promise2 = self.processViaAutoRest(newSwagger, 'new');

return Promise.all([promise1, promise2]).then(results => {
return self.processViaOpenApiDiff(results[0], results[1]).then((result, error) => {
return Promise.resolve(result);
});
return self.processViaOpenApiDiff(results[0], results[1]);
});
}

Expand Down

0 comments on commit fe3b648

Please sign in to comment.