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/23 03:03:32 UTC

incubator-weex git commit: * [test] add console log when error

Repository: incubator-weex
Updated Branches:
  refs/heads/release-0.16 ef11cd302 -> 659284db5


* [test] add console log when error


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

Branch: refs/heads/release-0.16
Commit: 659284db573a3e7081777e91e5a818636060f7f5
Parents: ef11cd3
Author: gurisxie <27...@qq.com>
Authored: Mon Oct 23 11:03:37 2017 +0800
Committer: gurisxie <27...@qq.com>
Committed: Mon Oct 23 11:03:37 2017 +0800

----------------------------------------------------------------------
 dangerfile.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/659284db/dangerfile.js
----------------------------------------------------------------------
diff --git a/dangerfile.js b/dangerfile.js
index fed1355..616f27a 100644
--- a/dangerfile.js
+++ b/dangerfile.js
@@ -278,6 +278,7 @@ filesToVerifySrcHeader.forEach(filepath => {
   var reg = /[\u4e00-\u9FA5]+/; 
   var res = reg.test(content);
   if(res){
+    console.error("Code file "+ filepath +" has cn source code.");
     fail("Code file "+ filepath +" has cn source code.");
     return ;
   }