You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by gu...@apache.org on 2017/10/19 04:33:26 UTC
[23/50] [abbrv] incubator-weex git commit: * [test] add log for
danger test
* [test] add log for danger test
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/c4175b7d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/c4175b7d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/c4175b7d
Branch: refs/heads/release
Commit: c4175b7d1a57d5bcebc6a7a6897edcf3c1cd6374
Parents: 24cf3aa
Author: gurisxie <27...@qq.com>
Authored: Tue Oct 17 15:45:12 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Tue Oct 17 15:48:46 2017 +0800
----------------------------------------------------------------------
dangerfile.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c4175b7d/dangerfile.js
----------------------------------------------------------------------
diff --git a/dangerfile.js b/dangerfile.js
index bfa61fb..83a0ef1 100644
--- a/dangerfile.js
+++ b/dangerfile.js
@@ -315,8 +315,8 @@ function findReviewer(resolve, reject) {
number: danger.github.pr.number,
headers: {Accept: 'application/vnd.github.diff',"user-agent": "node.js"}
}, function (err, result) {
- console.log('parseDeleteAndNormalLines')
if ("undefined" === typeof result || "undefined" === typeof result.data || err) {
+ console.log('result:'+result+', error:'+err);
resolve()
return
}
@@ -374,6 +374,7 @@ function getContent(url) {
function parseDeleteAndNormalLines(diffData, fileToDeletedLinesMap, fileToNormalLinesMap) {
try {
+ console.log('diffData:'+diffData)
var diffs = parseDiff(diffData)
diffs.forEach(diff => {
fileToDeletedLinesMap[diff.from] = [];