Skip to content

Commit

Permalink
Remove unneeded eslint-disable line
Browse files Browse the repository at this point in the history
Was fixed by some minor changes in the squashed commit.
Ref sinonjs#1626 (comment)
  • Loading branch information
fatso83 authored and Franck Romano committed Oct 1, 2019
1 parent 10cc56c commit 1dc7f3d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/sinon/spy.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ var spyApi = {

if (thisCall.calledWithNew()) {
// Call through with `new`
// eslint-disable-next-line new-parens
returnValue = new (bind.apply(this.func || func, [thisValue].concat(args)))();

if (typeof returnValue !== "object") {
Expand Down

0 comments on commit 1dc7f3d

Please sign in to comment.