flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject git commit: [flex-falcon] [refs/heads/develop] - revert change to MXMLC
Date Tue, 07 Jun 2016 05:16:52 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 9341d1f1b -> 2d069f8be


revert change to MXMLC


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/2d069f8b
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/2d069f8b
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/2d069f8b

Branch: refs/heads/develop
Commit: 2d069f8be7f6fdf03f8260df991e88c7ebc175ca
Parents: 9341d1f
Author: Alex Harui <aharui@apache.org>
Authored: Mon Jun 6 21:57:31 2016 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Jun 6 21:57:31 2016 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/flex/compiler/clients/MXMLC.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2d069f8b/compiler/src/main/java/org/apache/flex/compiler/clients/MXMLC.java
----------------------------------------------------------------------
diff --git a/compiler/src/main/java/org/apache/flex/compiler/clients/MXMLC.java b/compiler/src/main/java/org/apache/flex/compiler/clients/MXMLC.java
index f5819ed..7a7bfdd 100644
--- a/compiler/src/main/java/org/apache/flex/compiler/clients/MXMLC.java
+++ b/compiler/src/main/java/org/apache/flex/compiler/clients/MXMLC.java
@@ -340,7 +340,8 @@ public class MXMLC implements FlexTool
         {
             if (printer.printProblems(problems.getFilteredProblems()) > 0)
             {
-                exitCode = ExitCode.FAILED_WITH_ERRORS;       
+                if (problems.hasErrors())
+                    exitCode = ExitCode.FAILED_WITH_ERRORS;       
             }
         }
         else


Mime
View raw message