Latest version prettydiff
This commit is contained in:
parent
bf91dd2d7a
commit
40a1a4237a
|
@ -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",
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue