Latest version prettydiff

This commit is contained in:
s4l1h 2017-01-13 14:31:50 +03:00
parent bf91dd2d7a
commit 40a1a4237a
2 changed files with 3 additions and 4 deletions

View File

@ -144,7 +144,7 @@
"node-cljfmt": "^0.5.3-1",
"node-uuid": "^1.4.3",
"open": "0.0.5",
"prettydiff": "^1.16.27",
"prettydiff": "git+https://github.com/prettydiff/prettydiff.git#master",
"pug-beautify": "^0.1.1",
"remark": "^6.0.1",
"season": "^5.3.0",

View File

@ -111,7 +111,7 @@ module.exports = class PrettyDiff extends Beautifier
when "TSS"
lang = "tss"
when "Golang Template"
lang = "gohtml"
lang = "go"
else
lang = "auto"
@ -126,8 +126,7 @@ module.exports = class PrettyDiff extends Beautifier
# Beautify
@verbose('prettydiff', options)
output = prettydiff.api(options)
result = output[0]
result = prettydiff(options)
# Return beautified text
resolve(result)