Skip to content

Commit

Permalink
chore: addressed feedback on PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
bizob2828 committed Apr 1, 2024
1 parent 88d2dff commit 4801de0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions lib/shim/specs/wrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,7 @@ class WrapSpec extends SegmentSpec {

/* eslint-disable jsdoc/require-param-description */
/**
* The parameters may be a function; if so, that function is used as the
* wrapper. Otherwise, the parameters must be an object with a `wrapper`
* property set to the function that should be the wrapper.
*
* @param {WrapSpecParams|function} params
* @param {WrapSpecParams} params
*/
constructor(params) {
super(params)
Expand Down
1 change: 0 additions & 1 deletion lib/shim/webframework-shim/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ function wrapNextHandler({ shim, spec, route, args, isErrorWare, isPromise, txIn
}

if (shim.isFunction(spec.next)) {
// TODO: should this be a spec?
const nextDetails = {
route,
wrapNext: spec.next,
Expand Down

0 comments on commit 4801de0

Please # to comment.