You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2019/12/18 16:39:11 UTC

[royale-compiler] branch develop updated: GoogDepsWriter: fix typo in previous commit

This is an automated email from the ASF dual-hosted git repository.

joshtynjala 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 9a594f8  GoogDepsWriter: fix typo in previous commit
9a594f8 is described below

commit 9a594f8f5e4faf5305b76e61412dc5ad3610e151
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Wed Dec 18 08:39:03 2019 -0800

    GoogDepsWriter: fix typo in previous commit
---
 .../java/org/apache/royale/compiler/internal/graph/GoogDepsWriter.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/graph/GoogDepsWriter.java b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/graph/GoogDepsWriter.java
index 442c3ba..9feedaa 100644
--- a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/graph/GoogDepsWriter.java
+++ b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/graph/GoogDepsWriter.java
@@ -613,7 +613,7 @@ public class GoogDepsWriter {
 			if (sourceMapConsumer != null)
 			{
 				String newSourceMap = sourceMapConsumerToString(sourceMapConsumer, mainFile.getName());
-				FileUtils.write(mainFile, newSourceMap, "utf8");
+				FileUtils.write(sourceMapFile, newSourceMap, "utf8");
 			}
 		} catch (IOException e) {
 			// TODO Auto-generated catch block