You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/10/18 19:57:22 UTC

[royale-compiler] branch develop updated: null check

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 <ah...@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