You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ac...@apache.org on 2017/08/17 11:53:41 UTC
[2/3] incubator-weex git commit: * [test] danger file change
* [test] danger file change
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/43f34f2e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/43f34f2e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/43f34f2e
Branch: refs/heads/0.16-dev
Commit: 43f34f2efc8c705d60f129fefb3861a3ac428e1d
Parents: 9d5744f
Author: gurisxie <27...@qq.com>
Authored: Thu Aug 17 17:34:59 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Thu Aug 17 17:34:59 2017 +0800
----------------------------------------------------------------------
dangerfile.js | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/43f34f2e/dangerfile.js
----------------------------------------------------------------------
diff --git a/dangerfile.js b/dangerfile.js
index c5324c9..2be4b60 100644
--- a/dangerfile.js
+++ b/dangerfile.js
@@ -71,14 +71,14 @@ if (unFlowedFiles.length > 0) {
// Error or Warn when delete public interface
var isNotDanger = false;
-console.log('pr_title:'+danger.github.pr_title)
-if(!isNotDanger && danger.github.pr_title
- && danger.github.pr_title.match(/@notdanger/i)){
+console.log('pr.title:'+danger.github.pr.title)
+if(!isNotDanger && danger.github.pr.title
+ && danger.github.pr.title.match(/@notdanger/i)){
isNotDanger = true;
}
-console.log('pr_body:'+danger.github.pr_body)
-if(!isNotDanger && danger.github.pr_body
- && danger.github.pr_body.match(/@notdanger/i)){
+console.log('pr.body:'+danger.github.pr.body)
+if(!isNotDanger && danger.github.pr.body
+ && danger.github.pr.body.match(/@notdanger/i)){
isNotDanger = true;
}
if(!isNotDanger){