From 2055df55b3f0fccc5ed3bcf419dd19c415b99d6d Mon Sep 17 00:00:00 2001 From: Mauro de Wit Date: Fri, 16 Feb 2018 20:27:04 +0100 Subject: [PATCH] Minor fix for TeaVMRunner 'generate source maps' option (#325) Use character 'G' in the parseDebugOptions for sourcemaps --- tools/cli/src/main/java/org/teavm/cli/TeaVMRunner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cli/src/main/java/org/teavm/cli/TeaVMRunner.java b/tools/cli/src/main/java/org/teavm/cli/TeaVMRunner.java index 252073363..18416acf1 100644 --- a/tools/cli/src/main/java/org/teavm/cli/TeaVMRunner.java +++ b/tools/cli/src/main/java/org/teavm/cli/TeaVMRunner.java @@ -243,7 +243,7 @@ public final class TeaVMRunner { if (commandLine.hasOption('g')) { tool.setDebugInformationGenerated(true); } - if (commandLine.hasOption('S')) { + if (commandLine.hasOption('G')) { tool.setSourceMapsFileGenerated(true); } }