Minor fix for TeaVMRunner 'generate source maps' option (#325)

Use character 'G' in the parseDebugOptions for sourcemaps
This commit is contained in:
Mauro de Wit 2018-02-16 20:27:04 +01:00 committed by Alexey Andreev
parent c0d1714e0a
commit 2055df55b3

View File

@ -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);
}
}