Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: addressed feedback on PR review
  • Loading branch information
bizob2828 committed Apr 1, 2024
commit 4801de08ca1357d53f8fade9f4f586daf2a9b8fc
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