royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [royale-compiler] branch develop updated: null check
Date Thu, 18 Oct 2018 19:57:22 GMT
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git


The following commit(s) were added to refs/heads/develop by this push:
     new f1a2f1e  null check
f1a2f1e is described below

commit f1a2f1e5a9b71c15ddc8a0b4b088e56c52145b52
Author: Alex Harui <aharui@apache.org>
AuthorDate: Thu Oct 18 12:57:12 2018 -0700

    null check
---
 .../main/java/org/apache/royale/compiler/clients/JSConfiguration.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/clients/JSConfiguration.java
b/compiler-jx/src/main/java/org/apache/royale/compiler/clients/JSConfiguration.java
index 299fe7d..22854f4 100644
--- a/compiler-jx/src/main/java/org/apache/royale/compiler/clients/JSConfiguration.java
+++ b/compiler-jx/src/main/java/org/apache/royale/compiler/clients/JSConfiguration.java
@@ -365,7 +365,7 @@ public class JSConfiguration extends Configuration
     {
     	if (moduleoutput != null && moduleoutput.equals("/"))
     		return null;
-    	return moduleoutput.replace("/", File.separator);
+    	return moduleoutput == null ? null : moduleoutput.replace("/", File.separator);
     }
 
     @Config


Mime
View raw message