Skip to content

Commit

Permalink
Merge pull request #988 from samlanning/missing-var
Browse files Browse the repository at this point in the history
Add a missing var keyword found by lgtm.com
  • Loading branch information
keithamus committed Jun 19, 2017
2 parents 9116bc8 + 7e466af commit 5daceab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chai/utils/inspect.js
Expand Up @@ -86,7 +86,7 @@ function formatValue(ctx, value, recurseTimes) {
var container = document.createElementNS(ns, '_');

container.appendChild(value.cloneNode(false));
html = container.innerHTML
var html = container.innerHTML
.replace('><', '>' + value.innerHTML + '<');
container.innerHTML = '';
return html;
Expand Down

0 comments on commit 5daceab

Please sign in to comment.