linting error
This commit is contained in:
1 parent
7191b0ac92
commit
c9d274fd84
1 file changed
+3
-1
@@ -56,7 +56,9 @@ export class DebugConsoleManager {
|
||||
*/
|
||||
getUnretrievedOutput(sessionId: string): string | undefined {
|
||||
const session = this.sessions.get(sessionId)
|
||||
if (!session) return undefined
|
||||
if (!session) {
|
||||
return undefined
|
||||
}
|
||||
|
||||
const newOutput = session.output.slice(session.lastRetrievedIndex + 1).join("")
|
||||
session.lastRetrievedIndex = session.output.length - 1
|
||||
|
||||
Reference in new issue
Block a user