From acff23507263fcf59f667cf9a191c0288c839109 Mon Sep 17 00:00:00 2001 From: Fernando Dodino Date: Sun, 20 Oct 2024 09:04:57 -0300 Subject: [PATCH] Fix compile for run --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 80ffc44..708e90b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -27,7 +27,7 @@ program.command('run') .option('-g, --game', 'sets the program as a game', false) .option('-v, --verbose', 'print debugging information', false) .option('-d, --startDiagram', 'activate the dynamic diagram (only for games)', false) - .action(run) + .action((programFQN, options) => { run(programFQN, options) }) program.command('test') .description('Run Wollok tests')