reverte prettydiff version 1.16.27

This commit is contained in:
s4l1h 2017-01-13 23:21:46 +03:00
parent 40a1a4237a
commit 6f9f36ac4a
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -126,7 +126,8 @@ module.exports = class PrettyDiff extends Beautifier
# Beautify # Beautify
@verbose('prettydiff', options) @verbose('prettydiff', options)
result = prettydiff(options) output = prettydiff.api(options)
result = output[0]
# Return beautified text # Return beautified text
resolve(result) resolve(result)