You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/06/06 06:31:10 UTC
incubator-weex git commit: * [all] disable break change
Repository: incubator-weex
Updated Branches:
refs/heads/0.14-dev b69f6123d -> d3a1e1de0
* [all] disable break change
diffForFile change to async after danger v0.17
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/d3a1e1de
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/d3a1e1de
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/d3a1e1de
Branch: refs/heads/0.14-dev
Commit: d3a1e1de04684abb11259ac98000acedc55f87a2
Parents: b69f612
Author: sospartan <so...@apache.org>
Authored: Tue Jun 6 14:30:05 2017 +0800
Committer: sospartan <so...@apache.org>
Committed: Tue Jun 6 14:30:05 2017 +0800
----------------------------------------------------------------------
dangerfile.js | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d3a1e1de/dangerfile.js
----------------------------------------------------------------------
diff --git a/dangerfile.js b/dangerfile.js
index ac7e726..58444e0 100644
--- a/dangerfile.js
+++ b/dangerfile.js
@@ -103,7 +103,8 @@ for (let file of danger.git.modified_files) {
has_test_changes = true;
}
- if (!is_ignored_public_check(file) && file.endsWith(".java")) {
+ /* diffforFile
+ * if (!is_ignored_public_check(file) && file.endsWith(".java")) {
var diff = await danger.git.diffForFile(file);
if (diff && diff.removed && diff.removed.match(/^-\s*?public\s+[\s\S]+$/gm)) {
if (methion_break_change) {
@@ -116,7 +117,7 @@ for (let file of danger.git.modified_files) {
);
}
}
- }
+ }*/
if (
file.endsWith(".h") ||
@@ -346,4 +347,4 @@ function findBlameReviewers(fileToDeletedLinesMap, fileToNormalLinesMap, fileToB
/*
* find reviewer end
- */
\ No newline at end of file
+ */