Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Almenon committed Jun 3, 2024
1 parent ee507ff commit ff670b1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/toAREPLLogic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {settings} from "./settings"

/**
* formats text for passing into AREPL backend
* Along the way decides whether backend needs restarting
*/
export class ToAREPLLogic{

Expand Down Expand Up @@ -80,8 +79,7 @@ export class ToAREPLLogic{
let syntaxPromise: Promise<{}>

// only execute code if syntax is correct
// this is because it's annoying to have GUI apps restart constantly
// while typing
// this is because it's annoying to have GUI apps restart constantly while typing
syntaxPromise = this.PythonEvaluator.checkSyntax(data.savedCode + data.evalCode)
syntaxPromise.then(() => {
this.PythonEvaluator.execCode(data)
Expand Down

0 comments on commit ff670b1

Please sign in to comment.