Skip to content

Commit dacd1f6

Browse files
committed
Update for newest diff2html and fix typo
1 parent 6f21e24 commit dacd1f6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "diff2html-cli",
3-
"version": "1.4.4",
3+
"version": "1.4.5",
44
"homepage": "https://www.github.com/rtfpessoa/diff2html-cli",
55
"description": "Fast Diff to colorized HTML",
66
"keywords": [
@@ -46,7 +46,7 @@
4646
"main": "./src/main.js",
4747
"dependencies": {
4848
"copy-paste": "^1.1.4",
49-
"diff2html": "~1.3.1",
49+
"diff2html": "~1.3.2",
5050
"extend": "^3.0.0",
5151
"open": "^0.0.5",
5252
"request": "^2.69.0",

src/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
config.showFilesOpen = baseConfig.summary === 'open';
8383
}
8484

85-
var htmlContent = Diff2Html.getPrettyHtml(jsonContent, config);
85+
var htmlContent = diff2Html.getPrettyHtml(jsonContent, config);
8686
return callback(null, that._prepareHTML(htmlContent, config.showFilesOpen));
8787
} else if (baseConfig.format === 'json') {
8888
return callback(null, JSON.stringify(jsonContent));

0 commit comments

Comments
 (0)