Skip to content

Commit

Permalink
DAP: Make cwd required in RunTerminalArguments
Browse files Browse the repository at this point in the history
The spec has `cwd` in `RunInTerminalRequestArguments` as non-optional:
https://microsoft.github.io/debug-adapter-protocol/specification#Reverse_Requests_RunInTerminal
  • Loading branch information
the-mikedavis authored and archseer committed Jul 5, 2022
1 parent 44f5963 commit 85411be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions helix-dap/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -700,8 +700,7 @@ pub mod requests {
pub kind: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub title: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub cwd: Option<String>,
pub cwd: String,
pub args: Vec<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub env: Option<HashMap<String, Option<String>>>,
Expand Down

0 comments on commit 85411be

Please sign in to comment.