You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by da...@apache.org on 2017/08/17 03:59:58 UTC

[41/43] incubator-weex git commit: * [build] add ingore copyright verify path

* [build] add ingore copyright verify path


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/f1829865
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/f1829865
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/f1829865

Branch: refs/heads/0.16-dev
Commit: f1829865803c32d212760c368f8f2448a69dc808
Parents: c379f7d
Author: Hanks <zh...@gmail.com>
Authored: Tue Aug 15 17:53:40 2017 +0800
Committer: Hanks <zh...@gmail.com>
Committed: Tue Aug 15 17:53:40 2017 +0800

----------------------------------------------------------------------
 dangerfile.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/f1829865/dangerfile.js
----------------------------------------------------------------------
diff --git a/dangerfile.js b/dangerfile.js
index 7c40561..1105cf1 100644
--- a/dangerfile.js
+++ b/dangerfile.js
@@ -236,6 +236,7 @@ const copyright_header_components = [
 //path prefix
 const ignoreCopyrightVerifyPath = [
   'test',
+  'packages',
   'pre-build',
   'android/playground/app/src/main/assets',
   'android/sdk/assets',
@@ -366,7 +367,7 @@ function parseDeleteAndNormalLines(diffData, fileToDeletedLinesMap, fileToNormal
           }
         })
       })
-    }) 
+    })
   } catch (error) {
     console.log(error)
   }
@@ -428,7 +429,7 @@ function findBlameReviewers(fileToDeletedLinesMap, fileToNormalLinesMap, fileToB
   console.log('blame point:', reviewers)
   var names = Object.keys(reviewers)
   names.sort((name1, name2) => {
-    return reviewers[name1] > reviewers[name2] ? -1 : 1 
+    return reviewers[name1] > reviewers[name2] ? -1 : 1
   })
 
   var prUser = danger.github.pr.user.login