Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed Oct 24, 2023
1 parent 7de00f8 commit 932ce8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/tutor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export function initTutor(submissionCode: string): void {
}
}

async function loadTutor(exerciseId: string, studentCode: string, statements: string, stdin: string, inlineFiles: Record<string, string>, hrefFiles: Record<string, string>): void {
async function loadTutor(exerciseId: string, studentCode: string, statements: string, stdin: string, inlineFiles: Record<string, string>, hrefFiles: Record<string, string>): Promise<void> {

Check warning on line 86 in app/assets/javascripts/tutor.ts

View check run for this annotation

Codecov / codecov/patch

app/assets/javascripts/tutor.ts#L86

Added line #L86 was not covered by tests
if (!traceGenerator) {
// only setup the traceGenerator upon first use, as it is a heavy operation
traceGenerator = new TraceGenerator();
Expand Down

0 comments on commit 932ce8e

Please sign in to comment.