Skip to content

Commit

Permalink
fixup: remove unnecessary null-check
Browse files Browse the repository at this point in the history
  • Loading branch information
nknapp committed Jan 8, 2020
1 parent 1a9cf98 commit 2aa2572
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/handlebars/internal/wrapHelper.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
export function wrapHelper(helper, transformOptionsFn) {
if (helper == null) {
return helper;
}
let wrapper = function(/* dynamic arguments */) {
const options = arguments[arguments.length - 1];
arguments[arguments.length - 1] = transformOptionsFn(options);
Expand Down

0 comments on commit 2aa2572

Please sign in to comment.