Skip to content

Commit

Permalink
Hide markdownlint.lintWorkspace command when VS Code terminal support…
Browse files Browse the repository at this point in the history
… is not available (e.g., browser context).
  • Loading branch information
DavidAnson committed Dec 4, 2023
1 parent b6050d0 commit c44cc8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
},
{
"command": "markdownlint.lintWorkspace",
"when": "workbenchState != empty"
"when": "workbenchState != empty && terminalProcessSupported"
},
{
"command": "markdownlint.openConfigFile",
Expand Down

0 comments on commit c44cc8c

Please sign in to comment.