Skip to content

Commit 7e466af

Browse files
committed
Add a missing var keyword found by lgtm.com
1 parent 616cf8b commit 7e466af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/chai/utils/inspect.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function formatValue(ctx, value, recurseTimes) {
8686
var container = document.createElementNS(ns, '_');
8787

8888
container.appendChild(value.cloneNode(false));
89-
html = container.innerHTML
89+
var html = container.innerHTML
9090
.replace('><', '>' + value.innerHTML + '<');
9191
container.innerHTML = '';
9292
return html;

0 commit comments

Comments
 (0)