Skip to content

Commit

Permalink
docs: changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
XVincentX committed Apr 1, 2020
1 parent 463aa35 commit dfadbd8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
printWidth: 120,
singleQuote: true,
trailingComma: "es5"
trailingComma: "es5",
arrowParens: "avoid"
}
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## Fixed

- All the dependencies used by the various Prism packages have been explicitily declared avoiding some resolutions problems in case you are using Prism programmatically [#1072](https://github.com/stoplightio/prism/pull/1072)
- Prism's current options aren't overriden internally anymore because of the `Prefer` header set [#1074](https://github.com/stoplightio/prism/pull/1074)


# 3.3.2 (2020-03-16)

Expand Down
8 changes: 4 additions & 4 deletions packages/http-server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ export const createServer = (operations: IHttpOperation[], opts: IPrismHttpServe
opts.config.mock === false
? TE.right(false)
: pipe(
getHttpConfigFromRequest(input),
E.map(operationSpecificConfig => merge(opts.config.mock, operationSpecificConfig)),
TE.fromEither
);
getHttpConfigFromRequest(input),
E.map(operationSpecificConfig => merge(opts.config.mock, operationSpecificConfig)),
TE.fromEither
);

pipe(
mockConfig,
Expand Down

0 comments on commit dfadbd8

Please sign in to comment.