Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
user committed Jun 11, 2024
1 parent 036293e commit 78c4137
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/commands/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default async function (programFQN: Name, options: Options): Promise<void


const ioGame: Server | undefined = initializeGameClient(options)
const interpreter = game ? getGameInterpreter(environment, ioGame!) : interpret(environment, { ...natives })
const interpreter = game ? getGameInterpreter(environment) : interpret(environment, { ...natives })
const programPackage = environment.getNodeByFQN<Package>(programFQN).parent as Package
const dynamicDiagramClient = await initializeDynamicDiagram(programPackage, options, interpreter)

Expand All @@ -81,7 +81,8 @@ export default async function (programFQN: Name, options: Options): Promise<void
}
}

export const getGameInterpreter = (environment: Environment, io: Server): Interpreter => {
// TODO: ver si se elimina este método
export const getGameInterpreter = (environment: Environment): Interpreter => {
const interpreter = interpret(environment, natives)

return interpreter
Expand Down

0 comments on commit 78c4137

Please sign in to comment.