mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Fix attaching source maps to JS file
This commit is contained in:
parent
ad39024795
commit
f96aa54461
|
@ -444,8 +444,9 @@ public class TeaVMTool implements BaseTeaVMTool {
|
|||
|
||||
if (targetType == TeaVMTargetType.JAVASCRIPT) {
|
||||
try (OutputStream output = new FileOutputStream(new File(targetDirectory, outputName), true)) {
|
||||
Writer writer = new OutputStreamWriter(output, "UTF-8");
|
||||
additionalJavaScriptOutput(writer);
|
||||
try (Writer writer = new OutputStreamWriter(output, "UTF-8")) {
|
||||
additionalJavaScriptOutput(writer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user