diff --git a/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptParser.java b/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptParser.java index f526b4f1b1a..5da39155347 100644 --- a/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptParser.java +++ b/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptParser.java @@ -409,7 +409,7 @@ public class TypeScriptParser { exitCode = parserWrapperProcess.waitFor(); } if (exitCode != null && (exitCode == NODEJS_EXIT_CODE_FATAL_ERROR || exitCode == NODEJS_EXIT_CODE_SIG_ABORT)) { - // this is caught in the auto-builder, and handled as an OOM. Check there is the message is changed. + // this is caught in the auto-builder, and handled as an OOM. Check there if the message is changed. return new TypeScriptWrapperOOMError("The TypeScript parser wrapper crashed, possibly from running out of memory.", e); } if (exitCode != null) { diff --git a/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptWrapperOOMError.java b/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptWrapperOOMError.java index 67f2d5a0763..caf5ef542c1 100644 --- a/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptWrapperOOMError.java +++ b/javascript/extractor/src/com/semmle/ts/extractor/TypeScriptWrapperOOMError.java @@ -4,6 +4,6 @@ import com.semmle.util.exception.ResourceError; public class TypeScriptWrapperOOMError extends ResourceError { public TypeScriptWrapperOOMError(String message, Throwable throwable) { - super(message,throwable); - } + super(message,throwable); + } }