Skip to content

Commit

Permalink
fix: return the _super call
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelly Selden committed Jul 1, 2019
1 parent e59d552 commit b12dee1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/assertions/content_match.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module.exports = function (chai, utils) {
, content
);
} else {
_super.apply(this, arguments);
return _super.apply(this, arguments);
}
};
});
Expand Down
4 changes: 2 additions & 2 deletions lib/assertions/directory_content.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module.exports = function (chai, utils) {
if (flag(this, 'fs.directoryContent')) {
directoryContentAssertion.call(this, 'contents', expectedContents, msg);
} else {
_super.apply(this, arguments);
return _super.apply(this, arguments);
}
};
}
Expand All @@ -101,7 +101,7 @@ module.exports = function (chai, utils) {
directoryContentChainingBehavior.call(this, null);
}
else {
_super.apply(this, arguments);
return _super.apply(this, arguments);
}
};
}
Expand Down
2 changes: 1 addition & 1 deletion lib/assertions/directory_equal.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ module.exports = function (chai, utils) {
, true // show diff
);
} else {
_super.apply(this, arguments);
return _super.apply(this, arguments);
}
};
});
Expand Down
2 changes: 1 addition & 1 deletion lib/assertions/file_equal.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ module.exports = function (chai, utils) {
, true // show diff
);
} else {
_super.apply(this, arguments);
return _super.apply(this, arguments);
}
};
});
Expand Down

0 comments on commit b12dee1

Please sign in to comment.