diff --git a/javascript/resources/tools/autobuild.cmd b/javascript/resources/tools/autobuild.cmd index c64898bea781..72feddeab124 100644 --- a/javascript/resources/tools/autobuild.cmd +++ b/javascript/resources/tools/autobuild.cmd @@ -6,7 +6,7 @@ set jvm_args=-Xss16m rem If CODEQL_RAM is set, use half for Java and half for TS. if NOT [%CODEQL_RAM%] == [] ( set /a "half_ram=CODEQL_RAM/2" - set LGTM_TYPESCRIPT_RAM=%half_ram% + set LGTM_TYPESCRIPT_RAM=!half_ram! set jvm_args=!jvm_args! -Xmx!half_ram!m )