Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix for the html test

  • Loading branch information...
commit 139b1c0b42f81b653602955d739838b3373d0678 1 parent 8bd7b5b
@substack authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.js
View
4 index.js
@@ -99,7 +99,7 @@ function difflet (opts, prev, next) {
this.after(function () {
if (indent && commaFirst) write('\n' + indentx);
- else write('\n' + indentx.slice(indent));
+ else if (indent) write('\n' + indentx.slice(indent));
write(']');
if (inserted) unset('inserted');
@@ -221,7 +221,7 @@ function difflet (opts, prev, next) {
}
if (inserted) unset('inserted');
- else if (changed) unset('changed');
+ else if (changed) unset('updated');
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.