Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/packages/conat/socket/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export class ConatSocketServer extends ConatSocketBase {
try {
await socket.end({ timeout });
} catch (err) {
console.log("WARNING: error ending socket -- ${err}");
console.log(`WARNING: error ending socket -- ${err}`);
}
};
await Promise.all(Object.keys(this.sockets).map(end));
Expand Down
4 changes: 2 additions & 2 deletions src/packages/frontend/jupyter/nbgrader/clear-mark-regions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function replace_mark_region(input: string): string | undefined {
// check to make sure this isn't a nested BEGIN MARK SCHEME region
if (in_region)
throw Error(
"encountered nested ${begin_delimiter}, which is not allowed"
`encountered nested ${begin_delimiter}, which is not allowed`,
);

in_region = true;
Expand All @@ -52,7 +52,7 @@ function replace_mark_region(input: string): string | undefined {
// we finished going through all the lines, but didn't find a
// matching END statement
if (in_region) {
throw Error("no matching ${end_delimiter} found");
throw Error(`no matching ${end_delimiter} found`);
}

// replace the area?
Expand Down
2 changes: 1 addition & 1 deletion src/packages/server/conat/socketio/health.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function handleHealth(
res: ServerResponse,
) {
const healthy = server.isHealthy();
logger.debug("/health reporting conat is healthy=${healthy}");
logger.debug(`/health reporting conat is healthy=${healthy}`);
if (healthy) {
res.statusCode = 200;
res.end("healthy");
Expand Down