diff --git a/src/packages/conat/socket/server.ts b/src/packages/conat/socket/server.ts index 2f5ac21fba..3eab2078b9 100644 --- a/src/packages/conat/socket/server.ts +++ b/src/packages/conat/socket/server.ts @@ -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)); diff --git a/src/packages/frontend/jupyter/nbgrader/clear-mark-regions.ts b/src/packages/frontend/jupyter/nbgrader/clear-mark-regions.ts index 8f917fc8d6..3c80ef37d8 100644 --- a/src/packages/frontend/jupyter/nbgrader/clear-mark-regions.ts +++ b/src/packages/frontend/jupyter/nbgrader/clear-mark-regions.ts @@ -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; @@ -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? diff --git a/src/packages/server/conat/socketio/health.ts b/src/packages/server/conat/socketio/health.ts index bac40cb289..f21ec8f551 100644 --- a/src/packages/server/conat/socketio/health.ts +++ b/src/packages/server/conat/socketio/health.ts @@ -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");