Skip to content

Commit 094a2b0

Browse files
erik-kroghasgerf
andauthored
Apply suggestions from code review
Co-authored-by: Asger F <[email protected]>
1 parent 8881042 commit 094a2b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

javascript/extractor/src/com/semmle/ts/extractor/TypeScriptParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ private RuntimeException getExceptionFromMalformedResponse(String response, Exce
409409
exitCode = parserWrapperProcess.waitFor();
410410
}
411411
if (exitCode != null && (exitCode == NODEJS_EXIT_CODE_FATAL_ERROR || exitCode == NODEJS_EXIT_CODE_SIG_ABORT)) {
412-
// this is caught in the auto-builder, and handled as an OOM. Check there is the message is changed.
412+
// this is caught in the auto-builder, and handled as an OOM. Check there if the message is changed.
413413
return new TypeScriptWrapperOOMError("The TypeScript parser wrapper crashed, possibly from running out of memory.", e);
414414
}
415415
if (exitCode != null) {

javascript/extractor/src/com/semmle/ts/extractor/TypeScriptWrapperOOMError.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
public class TypeScriptWrapperOOMError extends ResourceError {
66
public TypeScriptWrapperOOMError(String message, Throwable throwable) {
7-
super(message,throwable);
8-
}
7+
super(message,throwable);
8+
}
99
}

0 commit comments

Comments
 (0)