Skip to content

Commit

Permalink
ignore part of the statement for coverage purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnu7 committed Jan 8, 2018
1 parent 3953fab commit 88ac4cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/handlebars/helpers/each.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function(instance) {
});
}

if (context && typeof context === 'object') {
if (context && /* istanbul ignore next */ typeof context === 'object') {
if (isArray(context)) {
for (let j = context.length; i < j; i++) {
if (i in context) {
Expand Down

0 comments on commit 88ac4cb

Please sign in to comment.