diff options
author | kevinjeon-g <136382173+kevinjeon-g@users.noreply.github.com> | 2023-12-10 15:03:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-10 14:03:34 -0600 |
commit | fb0f0a86d96b1748b0881b29af80c98651a0125f (patch) | |
tree | 76f509d226912670779e1c94d17e5af29fa0691d /lib/compilers | |
parent | 83769165f97645f824f2ec5469c0a305df96f7cc (diff) | |
download | compiler-explorer-fb0f0a86d96b1748b0881b29af80c98651a0125f.tar.gz compiler-explorer-fb0f0a86d96b1748b0881b29af80c98651a0125f.zip |
Add the HandlerConfig type to the global handler config (#5858)gh-9880
Diffstat (limited to 'lib/compilers')
-rw-r--r-- | lib/compilers/d8.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compilers/d8.ts b/lib/compilers/d8.ts index 89d3383bb..155f6aa83 100644 --- a/lib/compilers/d8.ts +++ b/lib/compilers/d8.ts @@ -80,7 +80,7 @@ export class D8Compiler extends BaseCompiler { // Instantiate Java or Kotlin compiler based on the current language. if (this.lang.id === 'android-java') { - const javaCompiler = global.handlerConfig.compileHandler.findCompiler('java', this.javaId); + const javaCompiler = global.handler_config.compileHandler.findCompiler('java', this.javaId); outputFilename = javaCompiler.getOutputFilename(preliminaryCompilePath); const javaOptions = _.compact( javaCompiler.prepareArguments( @@ -100,7 +100,7 @@ export class D8Compiler extends BaseCompiler { javaCompiler.getDefaultExecOptions(), ); } else if (this.lang.id === 'android-kotlin') { - const kotlinCompiler = global.handlerConfig.compileHandler.findCompiler('kotlin', this.kotlinId); + const kotlinCompiler = global.handler_config.compileHandler.findCompiler('kotlin', this.kotlinId); outputFilename = kotlinCompiler.getOutputFilename(preliminaryCompilePath); const kotlinOptions = _.compact( kotlinCompiler.prepareArguments( |