Skip to content

Commit

Permalink
Partial reapply c58ce91.
Browse files Browse the repository at this point in the history
When the user has set the config:
```
"editor.codeActionsOnSave": {
      "source": "explicit"
    }
```
this runs debugging#smokeTestSpec function which in turn will
check for the presence of the .cfg files and trigger the dialogs.

With this fix, the dialogs will show up only when the user
is trying to model check the currently selected spec.
  • Loading branch information
FedericoPonzi authored and lemmy committed Oct 7, 2024
1 parent 9250294 commit 35a5338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/checkModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export async function checkModel(
return;
}

const specFiles = await getSpecFiles(uri, false);
const specFiles = await getSpecFiles(uri, true);
if (!specFiles) {
return;
}
Expand Down

0 comments on commit 35a5338

Please sign in to comment.